Dokit
Internal development documentation
|
Attributes included in the Status
characterstic.
More...
#include <statusservice.h>
Public Attributes | |
DeviceStatus | deviceStatus |
Current Pokit device status. | |
float | batteryVoltage |
Current battery voltage level. | |
BatteryStatus | batteryStatus |
Logical interpretation the battery voltage level. | |
std::optional< SwitchPosition > | switchPosition |
Position of the Pokit device's physical mode switch. | |
std::optional< ChargingStatus > | chargingStatus |
Current charging status, if supported by the device. | |
Attributes included in the Status
characterstic.
Definition at line 113 of file statusservice.h.
BatteryStatus StatusService::Status::batteryStatus |
Logical interpretation the battery voltage level.
Definition at line 116 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus().
float StatusService::Status::batteryVoltage |
Current battery voltage level.
Definition at line 115 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus().
std::optional<ChargingStatus> StatusService::Status::chargingStatus |
Current charging status, if supported by the device.
Definition at line 118 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus().
DeviceStatus StatusService::Status::deviceStatus |
Current Pokit device status.
Definition at line 114 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus(), and StatusServicePrivate::parseStatus().
std::optional<SwitchPosition> StatusService::Status::switchPosition |
Position of the Pokit device's physical mode switch.
Definition at line 117 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus().