This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About sdk14.2 52832 password pairing timeout

Hi

I'm working on a password pairing project. You must enter the correct password to connect properly.  And This function can be normally implemented between mobile phone and slave module. When the phone wants to connect, a password pairing box pops up, and you must enter your password to connect properly. But now the password function is also in effect between the master and slave modules. According to the simulation, it is known that the connection is broken because the master module did not respond to the password and the pairing timeout evt is entered from the module. How can i fix this problem?

Thanks

June6

Parents Reply
  • I see. If both sides have BLE_GAP_IO_CAPS_DISPLAY_YESNO then there shall be no MITM (just works) if you use legacy pairing and Numeric comparison if you use LESC. Do you? In any case you should not respond to passkey in this case, just confirm the value. You can refer to the num_comp_reply() function in <SDK 15.2>\examples\ble_central_and_peripheral\experimental\ble_app_multirole_lesc\main.c to see how it can be done.

    If that does not help, can you upload your source code for both devices along with some description so that I can look at it?

Children
Related