We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for new Battery service including current consumption ...
https://www.bluetooth.com/specifications/specs/bas-1-1/
See firmware for details and supported fields:
struct battery_level_status { uint8_t flags; uint16_t power_state; /uint16_t identifier; uint8_t battery_level; uint8_t additional_status;/ } attribute((packed));
// Battery Energy Status struct battery_energy_status { uint8_t flags; //struct sfloat external_power_source; struct sfloat voltage; //struct sfloat available_energy; struct sfloat available_capacity; struct sfloat charge_rate; //struct sfloat available_energy_last; } attribute((packed));
// Battery Energy Status struct battery_health_status { uint8_t flags; uint8_t battery_health_summary; uint16_t cycle_count; int8_t current_temperature; //uint16_t deep_discharge_count; } attribute((packed));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add support for new Battery service including current consumption ...
https://www.bluetooth.com/specifications/specs/bas-1-1/
See firmware for details and supported fields:
struct battery_level_status {
uint8_t flags;
uint16_t power_state;
/uint16_t identifier;
uint8_t battery_level;
uint8_t additional_status;/
} attribute((packed));
// Battery Energy Status
struct battery_energy_status {
uint8_t flags;
//struct sfloat external_power_source;
struct sfloat voltage;
//struct sfloat available_energy;
struct sfloat available_capacity;
struct sfloat charge_rate;
//struct sfloat available_energy_last;
} attribute((packed));
// Battery Energy Status
struct battery_health_status {
uint8_t flags;
uint8_t battery_health_summary;
uint16_t cycle_count;
int8_t current_temperature;
//uint16_t deep_discharge_count;
} attribute((packed));
The text was updated successfully, but these errors were encountered: