#include “cbattery-channel.h”
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.
Description
create_BatteryIntChannel |
Function. Creating a charge level channel. Creates a charge level channel. Options: device_ptr Description: pointer to the currently connected device Data type: Device* Return value: Description: Charge level channel Data type: BatteryIntChannel*. |
BatteryIntChannel_get_buffer_size |
Function. Channel buffer request. Lets get the channel buffer. channel Description: pointer to the charge level channel Data type: BatteryIntChannel* out_buffer_size Description: pointer to the length of the channel buffer. Data type: size_t * Return value: Description: An indication of an error. More details sdk_error Data type: int. |
© Copyright 2016 - 2024 | BrainBit - EEG wearable headband | All Rights Reserved
A verification email has been sent to your email address
You have successfully subscribed to the SDK update mailing list.
Please, try again