diff --git a/doc/src/internal/notes.md b/doc/src/internal/notes.md index fee78f133..9d46d4d64 100644 --- a/doc/src/internal/notes.md +++ b/doc/src/internal/notes.md @@ -15,6 +15,16 @@ Additionally, the Pokit Meter includes the following undocumented service: * `831d0001-e98e-1fed-e73e-4bb7596f776e` - no idea. +Also, the Pokit app contains references to the following UUIDs; these may or may not be BLE services. + +* `581a9e6a-d2f6-4d7b-b0d0-5bc3ed9b842e` +* `5f330a08-8e76-4d5a-97fb-22e1807b1888` +* `6e7a7953-3b41-4be5-8052-c93129fa1f35` +* `b4a19bce-96cf-4915-9ba4-a19f4a042c8e` +* `c999d155-c00a-4e8f-a056-cd9523ce39de` +* `ef1b0821-b107-4cae-b17c-df1e99b1667a` +* `f2259466-ac2a-40a9-bf23-f47666ae2b15` + ## Qt Versions QtPokit requires Qt's support Bluetooth Low Energy, in Central mode. diff --git a/include/qtpokit/deviceinfoservice.h b/include/qtpokit/deviceinfoservice.h index 2016bdfa5..92fb01250 100644 --- a/include/qtpokit/deviceinfoservice.h +++ b/include/qtpokit/deviceinfoservice.h @@ -26,33 +26,33 @@ class QTPOKIT_EXPORT DeviceInfoService : public AbstractPokitService public: /// UUID of the "Device Info" service. static inline const QBluetoothUuid serviceUuid - { QBluetoothUuid::ServiceClassUuid::DeviceInformation }; + { QBluetoothUuid::ServiceClassUuid::DeviceInformation }; // 0x180a /// Characteristics available via the `Device Info` service. struct QTPOKIT_EXPORT CharacteristicUuids { /// UUID of the `Device Info` service's `Manufacturer Name String` characterstic. static inline const QBluetoothUuid manufacturerName - { QBluetoothUuid::CharacteristicType::ManufacturerNameString }; + { QBluetoothUuid::CharacteristicType::ManufacturerNameString }; // 0x2a29 /// UUID of the `Device Info` service's `Model Number String` characterstic. static inline const QBluetoothUuid modelNumber - { QBluetoothUuid::CharacteristicType::ModelNumberString }; + { QBluetoothUuid::CharacteristicType::ModelNumberString }; // 0x2a24 /// UUID of the `Device Info` service's `Firmware Revision String` characterstic. static inline const QBluetoothUuid firmwareRevision - { QBluetoothUuid::CharacteristicType::FirmwareRevisionString }; + { QBluetoothUuid::CharacteristicType::FirmwareRevisionString }; // 0x2a26 /// UUID of the `Device Info` service's `Hardware Revision String` characterstic. static inline const QBluetoothUuid hardwareRevision - { QBluetoothUuid::CharacteristicType::HardwareRevisionString }; + { QBluetoothUuid::CharacteristicType::HardwareRevisionString }; // 0x2a27 /// UUID of the `Device Info` service's `Software Revision String` characterstic. static inline const QBluetoothUuid softwareRevision - { QBluetoothUuid::CharacteristicType::SoftwareRevisionString }; + { QBluetoothUuid::CharacteristicType::SoftwareRevisionString }; // 0x2a28 /// UUID of the `Device Info` service's `Serial Number String` characterstic. static inline const QBluetoothUuid serialNumber - { QBluetoothUuid::CharacteristicType::SerialNumberString }; + { QBluetoothUuid::CharacteristicType::SerialNumberString }; // 0x2a25 }; DeviceInfoService(QLowEnergyController * const pokitDevice, QObject * parent = nullptr); diff --git a/src/lib/abstractpokitservice.cpp b/src/lib/abstractpokitservice.cpp index c6fd6ef09..eb80d15a7 100644 --- a/src/lib/abstractpokitservice.cpp +++ b/src/lib/abstractpokitservice.cpp @@ -337,7 +337,7 @@ bool AbstractPokitServicePrivate::enableCharacteristicNotificatons(const QBlueto } QLowEnergyDescriptor descriptor = characteristic.descriptor( - QBluetoothUuid::DescriptorType::ClientCharacteristicConfiguration); + QBluetoothUuid::DescriptorType::ClientCharacteristicConfiguration); // 0x2902 if (!descriptor.isValid()) { qCWarning(lc).noquote() << tr(R"(Characteristic %1 "%2" has no client configuration descriptor.)") .arg(uuid.toString(), PokitDevice::charcteristicToString(uuid)); @@ -372,7 +372,7 @@ bool AbstractPokitServicePrivate::disableCharacteristicNotificatons(const QBluet } QLowEnergyDescriptor descriptor = characteristic.descriptor( - QBluetoothUuid::DescriptorType::ClientCharacteristicConfiguration); + QBluetoothUuid::DescriptorType::ClientCharacteristicConfiguration); // 0x2902 if (!descriptor.isValid()) { qCWarning(lc).noquote() << tr(R"(Characteristic %1 "%2" has no client configuration descriptor.)") .arg(uuid.toString(), PokitDevice::charcteristicToString(uuid));