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

ble_app_uart_c dongle with passkey

Hi all,

I seek an advice on the passkey topic. Have been researching the topic all day but still have some confusion. I am running SDK 10.0 ble_app_uart example on nRF51 DK and ble_app_uart_c on the nRF51 dongle. The dongle connects to windows app that receives/transmit messages.

I have tried the SDK 8.0 uart example (it isn't implementing device manager) on peripheral nRF51 DK and demonstrated that adding the passkey works either with mobile phone or dongle via MCP.

Now, I want to be able to with dongle (ble_app_uart_c - SDK 10.0) send passkey via uart to peripheral device when requested. Similar to this topic here What do I need to implement in dongle?

Is device manager required (recommended) for both devices? I am confused with BLE_GAP_EVT_SEC_PARAMS_REQUEST and sd_ble_gap_sec_params_reply() on dongle side.

Related