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

NRF51822 re-authenticating

HI In the case the keyboard miss the LTK(or bonding info), how can I start a reconnect or re-authenticating to let the host and device to generat a new one?

When I replies without the keys like the below pictures ,the central reply me nothing .

And the function sd_ble_gap_authenticate can't run well in any case(eg after sd_ble_gap_sec_info_reply(m_conn_handle, NULL, NULL) , in the function on_encrypt_timeout )

it just return NRF_ERROR_INVALID_STATE 。

   I want to get a way to start a re-connect or re-authenticating as both the central and slave has no bonded info do. the s110_nrf51822_7.0.0_releasenotes.pdf  and the

comment statement of ble_bondmngr.c tell me that there is some way to do that.

development environment :

SDK 6.0.0

SoftDevice7.0.0

app:bluetooth ble keyboard

host:iphone4s ios7.1,2

image description

Parents Reply Children
No Data
Related