1.2.2.1.4.4.9 BLE_SMP_Keypress
C
uint16_t BLE_SMP_Keypress(uint16_t connHandle, uint8_t notifyType);
Description
Send a keypress notification message to inform the remote device when keys have been entered or erased.
Note
This API should be called only if receiving BLE_SMP_EVT_INPUT_PASSKEY_REQUEST and keypress field of BLE_SMP_EvtInputPasskeyReq_T is true.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
[in] notifyType | Notification type. See Keypress notification type. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue a keypress notification. |
MBA_RES_INVALID_PARA | The parameter is invalid. |