1.1.2.3.3.1.3.7 BLE_HOGPS_SendKeyboardInputReport

C

uint16_t BLE_HOGPS_SendKeyboardInputReport(uint16_t connHandle, uint8_t *p_keyCodeArray);

Description

Send HID keyboard input report.

Parameters

ParameterDescription
[in] connHandleThe connection handle associated with the connection.
[in] p_keyCodeArray8 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 valueDescription
MBA_RES_SUCCESSSuccessfully send the input report.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.