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

How is the LESC OOB data generated?

The OOB data for LESC pairing contains the BLE GAP Address 256bit random and 256bit confirm value, and is generated by sd_ble_gap_lesc_oob_data_get using the connection handle and public key. sd_ble_gap_lesc_oob_data_set sets the OOB data when the BLE_GAP_EVT_LESC_DHKEY_REQUEST event occurs. However when I tried to test this by providing the central and peripheral with OOB data that was generated but changed two bytes(same on both sides though) the pairing fails.

So the function sd_ble_gap_lesc_oob_data_get generates the OOB data in a specific way?

Parents Reply Children
No Data
Related