iPhone issues with HFP SSP pairing (ESP32)
Posted: Sat May 27, 2023 6:25 pm
I am using the Bluetooth classic HFP (latest v4.4.4 IDF) in an application. I have enabled SSP in the configuration and have support in the code for it. It seems to work fine. However I have seen an issue when pairing with iPhones (both iOS 15 and iOS 16). Instead of displaying the 6-digit code, the iPhone displays a dialog asking if I want to allow the device access to the address book and the pairing fails because it never displays a 6-digit code (see picture below).
I'm not sure where the problem is. It could be an iOS issue. However since the ESP32 Bluedroid stack doesn't support the PBAP (phone book) profile, I'm not sure why the iPhone is displaying this message at all.
Has anyone else seen this and have a work-around or fix? Someone else must have created a HFP app that uses SSP.
Is this an issue with the ESP32 Bluedroid stack advertising a capability it doesn't support or iOS simply assuming any HFP device will have PBAP functionality?
Thanks, Dan
I'm not sure where the problem is. It could be an iOS issue. However since the ESP32 Bluedroid stack doesn't support the PBAP (phone book) profile, I'm not sure why the iPhone is displaying this message at all.
Has anyone else seen this and have a work-around or fix? Someone else must have created a HFP app that uses SSP.
Is this an issue with the ESP32 Bluedroid stack advertising a capability it doesn't support or iOS simply assuming any HFP device will have PBAP functionality?
Thanks, Dan