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 BLE_SMP_EVT_INPUT_PASSKEY_REQUEST or BLE_SMP_EVT_DISPLAY_PASSKEY_REQUEST events during pairing.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.

Return values

Return valueDescription
MBA_RES_SUCCESSIndication of no passkey was successful.
MBA_RES_FAILThe specified connection handle is invalid.