Ooohh... right. I didn't pick up on that. I assumed there was a CME device connected to the iPad.
Relying on iPad BT for MIDI is a bit of a risk. I'm sure some people will have found it works, but I prefered to avoid it.
Get yourself an CME device to connect to your iPad (which then becomes the Central device). That could be a WIDI Bud Pro that you connect via a USB-A to Lightning/USB-C (depending on your iPad connector), or if you want the option of Wireless AND wored MIDI connections, then something like the H4MIDI WC with the WIDI Core chip added is great.
I use the latter option and just have the H4MIDIWC connected to my iPad via the H4MIDIWC's USB-C port. It gets power and data this way. From there, I have a mix of devices connected via WIDI Masters (Roland SPD-SX PRO and Line 6 Helix LT) and wired MIDI (Hotone Ampero II Stage and Behringer X32 mixer).
Touch wood, but since I setup our CME WIDI stuff, I have never even thought about it again. It just powers on when everyone arrives at gigs/rehearsals and works.