Hi all,
I'm using the "ble_app_hrs_paring_nfc" example to setup a static OOB key for pairing with a static longer more secure key. I use this key copied from the example:
#define OOB_AUTH_KEY { \
{ \
0xAA, 0xBB, 0xCC, 0xDD, \
0xEE, 0xFF, 0x99, 0x88, \
0x77, 0x66, 0x55, 0x44, \
0x33, 0x22, 0x11, 0x00 \
} \
}
And I added this in the on_ble_evt
case BLE_GAP_EVT_AUTH_KEY_REQUEST:
PRINTF("BLE:\t OOB Key request\n");
err_code = sd_ble_gap_auth_key_reply(p_ble_evt->evt.gap_evt.conn_handle, BLE_GAP_AUTH_KEY_TYPE_OOB, m_oob_auth_key.tk);
APP_ERROR_CHECK(err_code);
break;
But when I put in the key "AABBCCDDEEFF99887766554433221100" in the NRF connect screen below it fails and gives this status:
"Authentication failed with status BLE_GAP_SEC_STATUS_CONFIRM_VALUE"
Does anyone know what kind of data the NRF connect expects in this screen?
Thanks in advance!
Kind regards,
Michael