@@ -35,22 +35,22 @@ class QTPOKIT_EXPORT StatusService : public AbstractPokitService
35
35
36
36
// / Characteristics available via the `Pokit Status` service.
37
37
struct QTPOKIT_EXPORT CharacteristicUuids {
38
- // / UUID of the `Pokit Status` service's `Device Characteristics` characterstic .
38
+ // / UUID of the `Pokit Status` service's `Device Characteristics` characteristic .
39
39
static inline const QBluetoothUuid deviceCharacteristics { QStringLiteral (" 6974f5e5-0e54-45c3-97dd-29e4b5fb0849" ) };
40
40
41
- // / UUID of the `Pokit Status` service's `Status` characterstic .
41
+ // / UUID of the `Pokit Status` service's `Status` characteristic .
42
42
static inline const QBluetoothUuid status { QStringLiteral (" 3dba36e1-6120-4706-8dfd-ed9c16e569b6" ) };
43
43
44
- // / UUID of the `Pokit Status` service's `Device Name` characterstic .
44
+ // / UUID of the `Pokit Status` service's `Device Name` characteristic .
45
45
static inline const QBluetoothUuid name { QStringLiteral (" 7f0375de-077e-4555-8f78-800494509cc3" ) };
46
46
47
- // / UUID of the `Pokit Status` service's `Flash LED` characterstic .
47
+ // / UUID of the `Pokit Status` service's `Flash LED` characteristic .
48
48
static inline const QBluetoothUuid flashLed { QStringLiteral (" ec9bb1f3-05a9-4277-8dd0-60a7896f0d6e" ) };
49
49
50
- // / UUID of the `Pokit Status` service's (undocumented) `Torch` characterstic .
50
+ // / UUID of the `Pokit Status` service's (undocumented) `Torch` characteristic .
51
51
static inline const QBluetoothUuid torch { QStringLiteral (" aaf3f6d5-43d4-4a83-9510-dff3d858d4cc" ) };
52
52
53
- // / UUID of the `Pokit Status` service's (undocumented) `Button Press` characterstic .
53
+ // / UUID of the `Pokit Status` service's (undocumented) `Button Press` characteristic .
54
54
static inline const QBluetoothUuid buttonPress { QStringLiteral (" 8fe5b5a9-b5b4-4a7b-8ff2-87224b970f89" ) };
55
55
56
56
/* !
@@ -63,7 +63,7 @@ class QTPOKIT_EXPORT StatusService : public AbstractPokitService
63
63
*/
64
64
};
65
65
66
- // / Attributes included in the `Device Characteristics` characterstic .
66
+ // / Attributes included in the `Device Characteristics` characteristic .
67
67
struct DeviceCharacteristics {
68
68
QVersionNumber firmwareVersion; // /< Device's major and minor firmware version.
69
69
quint16 maximumVoltage; // /< Device's maximum input voltage.
@@ -108,13 +108,13 @@ class QTPOKIT_EXPORT StatusService : public AbstractPokitService
108
108
109
109
// / Values supported by the (undocumented) `Charging Statue` attribute of the `Status` characteristic.
110
110
enum class ChargingStatus : quint8 {
111
- Discharging = 0 , // /< Battery is dischargin .
111
+ Discharging = 0 , // /< Battery is discharging .
112
112
Charging = 1 , // /< Battery is being charged.
113
113
Charged = 2 , // /< Battery is fully charged.
114
114
};
115
115
static QString toString (const StatusService::ChargingStatus &status);
116
116
117
- // / Attributes included in the `Status` characterstic .
117
+ // / Attributes included in the `Status` characteristic .
118
118
struct Status {
119
119
DeviceStatus deviceStatus; // /< Current Pokit device status.
120
120
float batteryVoltage; // /< Current battery voltage level.
0 commit comments