2023-07-07 06:35 AM
Hello all,
We are trying to connect STM32WB with phone using BLE. We have based our code on the Hearth rate example given by ST. We have installed LightBlue on smartphone and now we try to connect with the device. On LightBlue, we can see that the device becomes connected and then disconnect immediately. The pairing status return Failed with reason AUTH_REQ_CANNOT_BE_MET. We have already tried to remove all bonding devices, and call aci_gap_clear_security_db() before connecting. The authentification requirement are as following :
Bonding_Mode : 1
MITM_Mode : 0
SC_Support : 2
KeyPress_Notification_Support : 0
Min_Encryption_Key_Size : 1
Max_Encryption_Key_Size : 16
Use_Fixed_Pin : 0
Fixed_Pin : 111111
Identity_Address_Type : 0
What about this authentification error ? What does it mean exactly ?
Best regards,
Audrey
Solved! Go to Solution.
2023-07-11 01:12 AM
I have found out the issue. I have to remove the message sent from the queue if there is nothing to send. I have no pairing fail anymore.
2023-07-11 01:12 AM
I have found out the issue. I have to remove the message sent from the queue if there is nothing to send. I have no pairing fail anymore.