Dear sir,
I wants to connectivity from mobile to nRf52840-sdk using passcode, so any default code available or not please suggest
Dear sir,
I wants to connectivity from mobile to nRf52840-sdk using passcode, so any default code available or not please suggest
Hi Sangram,
If you want to have an example that show how to do pairing with passkey, you can have a look at the \examples\ble_peripheral\ble_app_gls example. The documentation is here.
I have already tested this example (ble_app_gls example) but not working properly, pls. suggest what is the default passcode in ble_app_gls example.
I have already tested this example (ble_app_gls example) but not working properly, pls. suggest what is the default passcode in ble_app_gls example.
Hi,
There is no default passcode. The passcode is generated randomly.
Which error do you have, have you used UART to observe the passcode ?
Are you asking for static passkey ?
Dear sir,
Yes,I am asking static Passkey?
If you do a search, you can find many cases show you how to do static passkey.
For example this: https://devzone.nordicsemi.com/f/nordic-q-a/35675/how-to-use-static-passkey-for-a-no-display-no-output-peripheral
But first make sure you know how to use normal passkey (random generated).
dear sir,
I have no idea about normal passkey (random generated). pls. suggest for understanding
Please study the code of the ble_app_gls example. And get familiar on how the passkey is printed out on UART. Then you can combine the code to set the passkey using sd_ble_opt_set().
You can read more about the passkey pairing here.