James Parker
James Parker

Reputation: 2242

Objective-C Disabled iOS BLE Pairing Message

Is there anyway to disable the pairing message in iOS for a bluetooth device? The device I'm connecting to does not require any security and there is no pairing mechanism in place so having the message pop up is not needed. Any suggestions?

Upvotes: 0

Views: 1200

Answers (1)

James Parker
James Parker

Reputation: 2242

To confirm Paulw11's comment above a Pairing prompt will be displayed in iOS when a device is connected and any type of encryption is requested during the connection or encryption is required when writing to a characteristic.

If the user clicks "Cancel" the encryption will not be enabled for the connection, but the connection will not be terminated. If you click "Pair" encryption will be enabled and the connection will also persist.

There is no way to listen or interact with the pairing prompt via the base iOS configuration through the CoreBluetooth Framework. I've talked with Apple about this and done lots of digging. There may be a way to do this through the MFI program, but obviously we can't talk about that.

Upvotes: 3

Related Questions