I want to change static_passkey from "000000" to "0000".
But It doesn't work when I update changed code to board.
I changed like below pictures.(000000 -> 0000)
And this is the code of PASSKEY
Please help me.
I want to change static_passkey from "000000" to "0000".
But It doesn't work when I update changed code to board.
I changed like below pictures.(000000 -> 0000)
And this is the code of PASSKEY
Please help me.
Hello,
Setting the STATIC_PASSKEY value to "0000" is indeed the right way to do do. You might also need to adjust the following parameters for it:
#define SEC_PARAM_MITM 1
#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_DISPLAY_ONLY
This has been described in this ticket: (https://devzone.nordicsemi.com/f/nordic-q-a/101940/how-to-config-lesc?ReplyFilter=Answers&ReplySortBy=Answers&ReplySortOrder=Descending) and shows an example on how to implement these changes in the context of the ble_app_hrs example.
Hope this helps.
Best Regards,
Swathy
Hello,
Setting the STATIC_PASSKEY value to "0000" is indeed the right way to do do. You might also need to adjust the following parameters for it:
#define SEC_PARAM_MITM 1
#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_DISPLAY_ONLY
This has been described in this ticket: (https://devzone.nordicsemi.com/f/nordic-q-a/101940/how-to-config-lesc?ReplyFilter=Answers&ReplySortBy=Answers&ReplySortOrder=Descending) and shows an example on how to implement these changes in the context of the ble_app_hrs example.
Hope this helps.
Best Regards,
Swathy