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

About the reason code(hci_Status_code) of sd_ble_gap_disconnect()

Hello, Nordic Stuff.

I've been working at ble peripheral devices using S110.

I am just wondering why the sd_ble_gap_disconnect function accepts only the reason code of

BLE_REMOTE_USER_TERMINATED_CONNECTION and BLE_CONN_INTERVAL_UNACCEPTABLE.

I want to pass the reason code of BLE_HCI_STATUS_CODE_PIN_OR_KEY_MISSING(0x06) to

this function when a peripheral device has lost the bonding information after paring with iPhone

and can not accept the encryption request from iPhone.(iPhone has kept bonding inforamation.)

Could you tell me the reason?

Best regards.

Parents Reply Children
No Data
Related