BLE_SMP_PasskeyNegativeReply
C
uint16_t BLE_SMP_PasskeyNegativeReply(uint16_t connHandle);
Description
Indicates inability to provide a passkey in response to a request.
Note
Call this in response to passkey BLE_SMP_EVT_INPUT_PASSKEY_REQUEST or BLE_SMP_EVT_DISPLAY_PASSKEY_REQUEST events during pairing.
Events generated
Refer to the events generated by BLE_SMP_InitiatePairing for the pairing procedure context.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Indication of no passkey was successful. |
MBA_RES_FAIL | The specified connection handle is invalid. |