Data channel of the device battery level. It inherits the basic structure of AnyChannel channels. Notification about new data in the channel is carried out only when the device is connected.
Function. Creating a charge level channel.
Creates a charge level channel.
Description: pointer to the currently connected device
Data type: Device*
Description: Charge level channel
Data type: BatteryIntChannel*.
Function. Channel buffer request.
Lets get the channel buffer.
Description: pointer to the charge level channel
Data type: BatteryIntChannel*
Description: pointer to the length of the channel buffer.
Data type: size_t *
Description: An indication of an error. More details sdk_error
Data type: int.
© Copyright 2016 - 2021 | BrainBit - EEG wearable headband | All Rights Reserved
You have successfully subscribed to the SDK update mailing list.