BLE_HOGPS_SendKeyboardInputReport
C
uint16_t BLE_HOGPS_SendKeyboardInputReport(uint16_t connHandle, uint8_t *p_keyCodeArray);
Description
Send HID keyboard input report.
Parameters
Parameter | Description |
---|---|
[in] connHandle | The connection handle associated with the connection. |
[in] p_keyCodeArray | 8 bytes of key codes array. From byte 0 to byte 7: |Modifier Keys|Reserved|Keycode 1|Keycode 2|Keycode 3|Keycode 4|Keycode 5|Keycode 6|. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully send the input report. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_INVALID_PARA | Invalid parameters. |