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

sends the request to start encryption

Hi Nordic,

I was porting Nordic freertos hrs example(13.0.0-1) to Nuttx system. I can do advertising, connection establishment and data transfer, but bonding failed. I use nrf tool to test bonding feature with Android phone. On device side, sd_ble_gap_sec_params_reply runs successfully and I assumed that I can get the callback for "case BLE_GAP_EVT_CONN_SEC_UPDATE" but I didn't.

I sniffed BLE packets using Frontline, I can see LL_ENC_REQ sent from Master(Phone) and LL_ENC_RSP from my device. But then I can't see LL_START_ENC_REQ(slave sends the request to start encryption) from my device. I assumed link layer in Softdevice wil issue LL_START_ENC_REQ automatically after LL_ENC_RSP, but it seemed something wrong. Do you have an idea what would trigger LL_START_ENC_REQ happen? Or any idea on how I can track this issue?

Thanks, Mich

Related