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 120 of file statusservice.h.
BatteryStatus StatusService::Status::batteryStatus |
Logical interpretation the battery voltage level.
Definition at line 123 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus().
float StatusService::Status::batteryVoltage |
Current battery voltage level.
Definition at line 122 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 125 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus().
DeviceStatus StatusService::Status::deviceStatus |
Current Pokit device status.
Definition at line 121 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 124 of file statusservice.h.
Referenced by StatusCommand::outputDeviceStatus().