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
| Parameter | Description |
|---|---|
| [in] connHandle | The connection handle associated with the connection. |
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. |
