Hi,
We are using CC2564MODA with our custom board based on STM32L4 MCU.
Our device acts as a BLE peripheral for iOS phone and simultaneously connects to a classic BT headset (HSP profile) for audio playback.
Sometimes, when we try to pair the headset using GAP_Initiate_Bonding(), we get the following in GAP_Event_Callback.
atAuthenticationStatus: 4 Board: 0xFC58FAB984AC
Connection_Complete_Event: Type: 2, Addr: 0xFC58FAB984AC, ConnHandle: 1, Status:4
What does this mean? Once we get this error, its consistent and we have to reset the device/headset and start everything afresh to get a successful connection.
What is the reason for this kind of error? Please help.
Attached logs captured for Success and Failure cases.
Thanks,
Indu