Dokit
Internal development documentation
Loading...
Searching...
No Matches
StatusService::Status Struct Reference

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< SwitchPositionswitchPosition
 Position of the Pokit device's physical mode switch.
 
std::optional< ChargingStatuschargingStatus
 Current charging status, if supported by the device.
 

Detailed Description

Attributes included in the Status characterstic.

Definition at line 113 of file statusservice.h.

Member Data Documentation

◆ batteryStatus

BatteryStatus StatusService::Status::batteryStatus

Logical interpretation the battery voltage level.

Definition at line 116 of file statusservice.h.

Referenced by StatusCommand::outputDeviceStatus().

◆ batteryVoltage

float StatusService::Status::batteryVoltage

Current battery voltage level.

Definition at line 115 of file statusservice.h.

Referenced by StatusCommand::outputDeviceStatus().

◆ chargingStatus

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

DeviceStatus StatusService::Status::deviceStatus

Current Pokit device status.

Definition at line 114 of file statusservice.h.

Referenced by StatusCommand::outputDeviceStatus(), and StatusServicePrivate::parseStatus().

◆ switchPosition

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().


The documentation for this struct was generated from the following file: