1.1.2.3.3.1.3.4 BLE_HOGPS_SendBatteryLevel

C

uint16_t BLE_HOGPS_SendBatteryLevel(uint16_t connHandle);

Description

Send battery level of HID device by Battery service.

Parameters

ParameterDescription
[in] connHandleThe connection handle associated with the connection.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully send the input report.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.