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

BLE Out of Band

Hello Everybody!

I have been working with BLE security and I have an issue with OOB setup.

I'm setting my nRF with the following:

m_sec_params.timeout      = 30;
m_sec_params.bond         = 1;
m_sec_params.mitm         = 0;
m_sec_params.io_caps      = BLE_GAP_IO_CAPS_NONE;
m_sec_params.oob           = 1;
m_sec_params.min_key_size = 7;
m_sec_params.max_key_size = 16;

However in Android I don't know if I have to change any settings when I call BluetoothDevice.CreateBond();

nRF does NOT fire BLE_GAP_EVT_AUTH_KEY_REQUEST event so my code is sitting there just waiting to send :

sd_ble_gap_auth_key_reply(m_conn_handle, BLE_GAP_AUTH_KEY_TYPE_OOB, OutOfBandData);

Is there anything I need to do on either side?

Thanks much,

Parents Reply Children
No Data
Related