Skip to content

Commit eac78fe

Browse files
committed
Correct some minor spelling errors
1 parent c74270f commit eac78fe

File tree

8 files changed

+34
-34
lines changed

8 files changed

+34
-34
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ cmake --build <tmp-build-dir> --target doc doc-internal
231231
# ls <tmp-build-dir>/doc/internal # Internal developer documentation
232232
```
233233

234-
These are regularly published to Github Pages via Github Actions:
234+
These are regularly published to GitHub Pages via GitHub Actions:
235235

236236
* [public end-user docs](https://pcolby.github.io/dokit/main/doc/index.html)
237237
* [internal dev docs](https://pcolby.github.io/dokit/main/int/index.html)

include/qtpokit/calibrationservice.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ class QTPOKIT_EXPORT CalibrationService : public AbstractPokitService
2929

3030
/// Characteristics available via the `Calibration` service.
3131
struct QTPOKIT_EXPORT CharacteristicUuids {
32-
/// UUID of the `Calibration` service's `Temperature` characterstic.
32+
/// UUID of the `Calibration` service's `Temperature` characteristic.
3333
static inline const QBluetoothUuid temperature { QStringLiteral("0cd0f713-f5aa-4572-9e23-f8049f6bcaaa") };
3434

35-
/// \todo UUID of the `Calibration` service's (undocumented) `Get Parameter` characterstic.
35+
/// \todo UUID of the `Calibration` service's (undocumented) `Get Parameter` characteristic.
3636
static inline const QBluetoothUuid getParam { QStringLiteral("b6728f91-409c-4d6c-864e-272a6a7a0204") };
3737

38-
/// \todo UUID of the `Calibration` service's (undocumented) `Set Parameter` characterstic.
38+
/// \todo UUID of the `Calibration` service's (undocumented) `Set Parameter` characteristic.
3939
static inline const QBluetoothUuid setParam { QStringLiteral("5588e47b-cb81-4f7b-acc4-6029a3f39f72") };
4040
};
4141

include/qtpokit/dataloggerservice.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ class QTPOKIT_EXPORT DataLoggerService : public AbstractPokitService
2929

3030
/// Characteristics available via the `DataLogger` service.
3131
struct QTPOKIT_EXPORT CharacteristicUuids {
32-
/// UUID of the `DataLogger` service's `Settings` characterstic.
32+
/// UUID of the `DataLogger` service's `Settings` characteristic.
3333
static inline const QBluetoothUuid settings { QStringLiteral("5f97c62b-a83b-46c6-b9cd-cac59e130a78") };
3434

35-
/// UUID of the `DataLogger` service's `Metadata` characterstic.
35+
/// UUID of the `DataLogger` service's `Metadata` characteristic.
3636
static inline const QBluetoothUuid metadata { QStringLiteral("9acada2e-3936-430b-a8f7-da407d97ca6e") };
3737

38-
/// UUID of the `DataLogger` service's `Reading` characterstic.
38+
/// UUID of the `DataLogger` service's `Reading` characteristic.
3939
static inline const QBluetoothUuid reading { QStringLiteral("3c669dab-fc86-411c-9498-4f9415049cc0") };
4040
};
4141

@@ -62,7 +62,7 @@ class QTPOKIT_EXPORT DataLoggerService : public AbstractPokitService
6262
static quint32 maxValue(const PokitProduct product, const quint8 range, const Mode mode);
6363
quint32 maxValue(const quint8 range, const Mode mode) const;
6464

65-
/// Attributes included in the `Settings` characterstic.
65+
/// Attributes included in the `Settings` characteristic.
6666
struct Settings {
6767
Command command; ///< Custom operation request.
6868
quint16 arguments; ///< Reserved to used along with #command in future.
@@ -80,7 +80,7 @@ class QTPOKIT_EXPORT DataLoggerService : public AbstractPokitService
8080
Error = 255 ///< An error has occurred.
8181
};
8282

83-
/// Attributes included in the `Metadata` characterstic.
83+
/// Attributes included in the `Metadata` characteristic.
8484
struct Metadata {
8585
LoggerStatus status; ///< Current data logger status.
8686
float scale; ///< Scale to apply to read samples.

include/qtpokit/deviceinfoservice.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,27 @@ class QTPOKIT_EXPORT DeviceInfoService : public AbstractPokitService
3030

3131
/// Characteristics available via the `Device Info` service.
3232
struct QTPOKIT_EXPORT CharacteristicUuids {
33-
/// UUID of the `Device Info` service's `Manufacturer Name String` characterstic.
33+
/// UUID of the `Device Info` service's `Manufacturer Name String` characteristic.
3434
static inline const QBluetoothUuid manufacturerName
3535
{ QBluetoothUuid::CharacteristicType::ManufacturerNameString }; // 0x2a29
3636

37-
/// UUID of the `Device Info` service's `Model Number String` characterstic.
37+
/// UUID of the `Device Info` service's `Model Number String` characteristic.
3838
static inline const QBluetoothUuid modelNumber
3939
{ QBluetoothUuid::CharacteristicType::ModelNumberString }; // 0x2a24
4040

41-
/// UUID of the `Device Info` service's `Firmware Revision String` characterstic.
41+
/// UUID of the `Device Info` service's `Firmware Revision String` characteristic.
4242
static inline const QBluetoothUuid firmwareRevision
4343
{ QBluetoothUuid::CharacteristicType::FirmwareRevisionString }; // 0x2a26
4444

45-
/// UUID of the `Device Info` service's `Hardware Revision String` characterstic.
45+
/// UUID of the `Device Info` service's `Hardware Revision String` characteristic.
4646
static inline const QBluetoothUuid hardwareRevision
4747
{ QBluetoothUuid::CharacteristicType::HardwareRevisionString }; // 0x2a27
4848

49-
/// UUID of the `Device Info` service's `Software Revision String` characterstic.
49+
/// UUID of the `Device Info` service's `Software Revision String` characteristic.
5050
static inline const QBluetoothUuid softwareRevision
5151
{ QBluetoothUuid::CharacteristicType::SoftwareRevisionString }; // 0x2a28
5252

53-
/// UUID of the `Device Info` service's `Serial Number String` characterstic.
53+
/// UUID of the `Device Info` service's `Serial Number String` characteristic.
5454
static inline const QBluetoothUuid serialNumber
5555
{ QBluetoothUuid::CharacteristicType::SerialNumberString }; // 0x2a25
5656
};

include/qtpokit/dsoservice.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ class QTPOKIT_EXPORT DsoService : public AbstractPokitService
3030

3131
/// Characteristics available via the `DSO` service.
3232
struct QTPOKIT_EXPORT CharacteristicUuids {
33-
/// UUID of the `DSO` service's `Settings` characterstic.
33+
/// UUID of the `DSO` service's `Settings` characteristic.
3434
static inline const QBluetoothUuid settings { QStringLiteral("a81af1b6-b8b3-4244-8859-3da368d2be39") };
3535

36-
/// UUID of the `DSO` service's `Metadata` characterstic.
36+
/// UUID of the `DSO` service's `Metadata` characteristic.
3737
static inline const QBluetoothUuid metadata { QStringLiteral("970f00ba-f46f-4825-96a8-153a5cd0cda9") };
3838

39-
/// UUID of the `DSO` service's `Reading` characterstic.
39+
/// UUID of the `DSO` service's `Reading` characteristic.
4040
static inline const QBluetoothUuid reading { QStringLiteral("98e14f8e-536e-4f24-b4f4-1debfed0a99e") };
4141
};
4242

@@ -63,7 +63,7 @@ class QTPOKIT_EXPORT DsoService : public AbstractPokitService
6363
static quint32 maxValue(const PokitProduct product, const quint8 range, const Mode mode);
6464
quint32 maxValue(const quint8 range, const Mode mode) const;
6565

66-
/// Attributes included in the `Settings` characterstic.
66+
/// Attributes included in the `Settings` characteristic.
6767
struct Settings {
6868
Command command; ///< Custom operation request.
6969
float triggerLevel; ///< Trigger threshold level in Volts or Amps, depending on #mode.
@@ -80,7 +80,7 @@ class QTPOKIT_EXPORT DsoService : public AbstractPokitService
8080
Error = 255 ///< An error has occurred.
8181
};
8282

83-
/// Attributes included in the `Metadata` characterstic.
83+
/// Attributes included in the `Metadata` characteristic.
8484
struct Metadata {
8585
DsoStatus status; ///< Current DSO status.
8686
float scale; ///< Scale to apply to read samples.

include/qtpokit/multimeterservice.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ class QTPOKIT_EXPORT MultimeterService : public AbstractPokitService
2929

3030
/// Characteristics available via the `Multimeter` service.
3131
struct QTPOKIT_EXPORT CharacteristicUuids {
32-
/// UUID of the `Multimeter` service's `Settings` characterstic.
32+
/// UUID of the `Multimeter` service's `Settings` characteristic.
3333
static inline const QBluetoothUuid settings { QStringLiteral("53dc9a7a-bc19-4280-b76b-002d0e23b078") };
3434

35-
/// UUID of the `Multimeter` service's `Reading` characterstic.
35+
/// UUID of the `Multimeter` service's `Reading` characteristic.
3636
static inline const QBluetoothUuid reading { QStringLiteral("047d3559-8bee-423a-b229-4417fa603b90") };
3737
};
3838

@@ -57,7 +57,7 @@ class QTPOKIT_EXPORT MultimeterService : public AbstractPokitService
5757
static quint32 maxValue(const PokitProduct product, const quint8 range, const Mode mode);
5858
quint32 maxValue(const quint8 range, const Mode mode) const;
5959

60-
/// Attributes included in the `Settings` characterstic.
60+
/// Attributes included in the `Settings` characteristic.
6161
struct Settings {
6262
Mode mode; ///< Desired operation mode.
6363
quint8 range; ///< Desired range.
@@ -74,7 +74,7 @@ class QTPOKIT_EXPORT MultimeterService : public AbstractPokitService
7474
Error = 255 ///< Error (all modes).
7575
};
7676

77-
/// Attributes included in the `Reading` characterstic.
77+
/// Attributes included in the `Reading` characteristic.
7878
struct Reading {
7979
MeterStatus status; ///< Current multimeter status.
8080
float value; ///< Last acquired value.

include/qtpokit/statusservice.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ class QTPOKIT_EXPORT StatusService : public AbstractPokitService
3535

3636
/// Characteristics available via the `Pokit Status` service.
3737
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.
3939
static inline const QBluetoothUuid deviceCharacteristics { QStringLiteral("6974f5e5-0e54-45c3-97dd-29e4b5fb0849") };
4040

41-
/// UUID of the `Pokit Status` service's `Status` characterstic.
41+
/// UUID of the `Pokit Status` service's `Status` characteristic.
4242
static inline const QBluetoothUuid status { QStringLiteral("3dba36e1-6120-4706-8dfd-ed9c16e569b6") };
4343

44-
/// UUID of the `Pokit Status` service's `Device Name` characterstic.
44+
/// UUID of the `Pokit Status` service's `Device Name` characteristic.
4545
static inline const QBluetoothUuid name { QStringLiteral("7f0375de-077e-4555-8f78-800494509cc3") };
4646

47-
/// UUID of the `Pokit Status` service's `Flash LED` characterstic.
47+
/// UUID of the `Pokit Status` service's `Flash LED` characteristic.
4848
static inline const QBluetoothUuid flashLed { QStringLiteral("ec9bb1f3-05a9-4277-8dd0-60a7896f0d6e") };
4949

50-
/// UUID of the `Pokit Status` service's (undocumented) `Torch` characterstic.
50+
/// UUID of the `Pokit Status` service's (undocumented) `Torch` characteristic.
5151
static inline const QBluetoothUuid torch { QStringLiteral("aaf3f6d5-43d4-4a83-9510-dff3d858d4cc") };
5252

53-
/// UUID of the `Pokit Status` service's (undocumented) `Button Press` characterstic.
53+
/// UUID of the `Pokit Status` service's (undocumented) `Button Press` characteristic.
5454
static inline const QBluetoothUuid buttonPress { QStringLiteral("8fe5b5a9-b5b4-4a7b-8ff2-87224b970f89") };
5555

5656
/*!
@@ -63,7 +63,7 @@ class QTPOKIT_EXPORT StatusService : public AbstractPokitService
6363
*/
6464
};
6565

66-
/// Attributes included in the `Device Characteristics` characterstic.
66+
/// Attributes included in the `Device Characteristics` characteristic.
6767
struct DeviceCharacteristics {
6868
QVersionNumber firmwareVersion; ///< Device's major and minor firmware version.
6969
quint16 maximumVoltage; ///< Device's maximum input voltage.
@@ -108,13 +108,13 @@ class QTPOKIT_EXPORT StatusService : public AbstractPokitService
108108

109109
/// Values supported by the (undocumented) `Charging Statue` attribute of the `Status` characteristic.
110110
enum class ChargingStatus : quint8 {
111-
Discharging = 0, ///< Battery is dischargin.
111+
Discharging = 0, ///< Battery is discharging.
112112
Charging = 1, ///< Battery is being charged.
113113
Charged = 2, ///< Battery is fully charged.
114114
};
115115
static QString toString(const StatusService::ChargingStatus &status);
116116

117-
/// Attributes included in the `Status` characterstic.
117+
/// Attributes included in the `Status` characteristic.
118118
struct Status {
119119
DeviceStatus deviceStatus; ///< Current Pokit device status.
120120
float batteryVoltage; ///< Current battery voltage level.

test/unit/lib/testcalibrationservice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void TestCalibrationService::readCharacteristics()
2020
QSKIP("BLE controller operations hang on GitHub Actions's macOS 14 runners");
2121
}
2222

23-
// readCharacteristics always returns true, since the service has no readable characterstics.
23+
// readCharacteristics always returns true, since the service has no readable characteristics.
2424
CalibrationService service(QLowEnergyController::createCentral(QBluetoothDeviceInfo()));
2525
QVERIFY(service.readCharacteristics());
2626
}

0 commit comments

Comments
 (0)