Skip to main content
Associate
July 7, 2023
Solved

Connexion issue with phone : get error 0x03: AUTH_REQ_CANNOT_BE_MET

  • July 7, 2023
  • 1 reply
  • 1188 views

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

This topic has been closed for replies.
Best answer by audrey38

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.

1 reply

audrey38AuthorBest answer
Associate
July 11, 2023

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.