What is the passkey for gls example, and where is it set
I am using SDK13, 10040 nrf52832 s132
Any help appreciated
What is the passkey for gls example, and where is it set
I am using SDK13, 10040 nrf52832 s132
Any help appreciated
Hi,
From the Glucose Application documentation:
A passkey must be entered at the central to complete the bonding and ensure MITM protection. The Glucose Application will present the passkey during bonding. It is sent on the UART. It is therefore important that UART is set up correctly on the receiving side.
The passkey is generated randomly by the softdevice and sent over UART. You will have to check the terminal for the passkey on each bonding procedure. In the example, the passkey is sent over UART on receiption of a BLE_GAP_EVT_PASSKEY_DISPLAY
event in on_ble_evt()
handler. The passkey is available in p_ble_evt->evt.gap_evt.params.passkey_display.passkey
.
Best regards,
Jørgen
Jørgen, thanks.
Jørgen, thanks.