Connect to Rasberry Pi

I can see my pi listed in iOS settings, and I can connect to it that way. I'm also trying to connect using CoreBluetooth but the pi never appears as a Peripheral I can connect to.

Should I be taking another approach? Would it appear as an ExternalAccessory instead?

I have a Python server on the device that I'd like to connect to.

Thanks!