BLE_HOGPS_SendBatteryLevel

C

uint16_t BLE_HOGPS_SendBatteryLevel(uint16_t connHandle);

Description

Sends the battery level of a HID device using the BLE Battery Service.

Parameters

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

Return values

Return valueDescription
MBA_RES_SUCCESSThe battery level was successfully sent.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAThe parameters provided are invalid.