diff --git a/main/int/classAbstractPokitServicePrivate.html b/main/int/classAbstractPokitServicePrivate.html index f6a3fb636..e7a86af20 100644 --- a/main/int/classAbstractPokitServicePrivate.html +++ b/main/int/classAbstractPokitServicePrivate.html @@ -680,7 +680,7 @@
Referenced by DataLoggerServicePrivate::characteristicRead(), DeviceInfoServicePrivate::characteristicRead(), DsoServicePrivate::characteristicRead(), GenericAccessServicePrivate::characteristicRead(), MultimeterServicePrivate::characteristicRead(), StatusServicePrivate::characteristicRead(), and createServiceObject().
+Referenced by DataLoggerServicePrivate::characteristicRead(), DeviceInfoServicePrivate::characteristicRead(), DsoServicePrivate::characteristicRead(), GenericAccessServicePrivate::characteristicRead(), MultimeterServicePrivate::characteristicRead(), StatusServicePrivate::characteristicRead(), and createServiceObject().
Referenced by CalibrationServicePrivate::characteristicWritten(), DataLoggerServicePrivate::characteristicWritten(), DsoServicePrivate::characteristicWritten(), GenericAccessServicePrivate::characteristicWritten(), MultimeterServicePrivate::characteristicWritten(), StatusServicePrivate::characteristicWritten(), and createServiceObject().
+Referenced by CalibrationServicePrivate::characteristicWritten(), DataLoggerServicePrivate::characteristicWritten(), DsoServicePrivate::characteristicWritten(), GenericAccessServicePrivate::characteristicWritten(), MultimeterServicePrivate::characteristicWritten(), StatusServicePrivate::characteristicWritten(), and createServiceObject().
Referenced by StatusServicePrivate::characteristicRead(), GenericAccessServicePrivate::parseAppearance(), StatusServicePrivate::parseButtonPress(), StatusServicePrivate::parseDeviceCharacteristics(), DataLoggerServicePrivate::parseMetadata(), DsoServicePrivate::parseMetadata(), MultimeterServicePrivate::parseReading(), StatusServicePrivate::parseStatus(), and StatusServicePrivate::parseTorchStatus().
+Referenced by StatusServicePrivate::characteristicRead(), GenericAccessServicePrivate::parseAppearance(), StatusServicePrivate::parseButtonPress(), StatusServicePrivate::parseDeviceCharacteristics(), DataLoggerServicePrivate::parseMetadata(), DsoServicePrivate::parseMetadata(), MultimeterServicePrivate::parseReading(), StatusServicePrivate::parseStatus(), and StatusServicePrivate::parseTorchStatus().
Referenced by AbstractPokitServicePrivate(), and StatusServicePrivate::serviceDiscovered().
+Referenced by AbstractPokitServicePrivate(), and StatusServicePrivate::serviceDiscovered().
Referenced by DataLoggerServicePrivate::characteristicChanged(), DsoServicePrivate::characteristicChanged(), MultimeterServicePrivate::characteristicChanged(), DataLoggerServicePrivate::characteristicRead(), DeviceInfoServicePrivate::characteristicRead(), DsoServicePrivate::characteristicRead(), GenericAccessServicePrivate::characteristicRead(), MultimeterServicePrivate::characteristicRead(), StatusServicePrivate::characteristicRead(), CalibrationServicePrivate::characteristicWritten(), DataLoggerServicePrivate::characteristicWritten(), DsoServicePrivate::characteristicWritten(), GenericAccessServicePrivate::characteristicWritten(), MultimeterServicePrivate::characteristicWritten(), StatusServicePrivate::characteristicWritten(), createServiceObject(), serviceDiscovered(), and StatusServicePrivate::serviceDiscovered().
+Referenced by DataLoggerServicePrivate::characteristicChanged(), DsoServicePrivate::characteristicChanged(), MultimeterServicePrivate::characteristicChanged(), DataLoggerServicePrivate::characteristicRead(), DeviceInfoServicePrivate::characteristicRead(), DsoServicePrivate::characteristicRead(), GenericAccessServicePrivate::characteristicRead(), MultimeterServicePrivate::characteristicRead(), StatusServicePrivate::characteristicRead(), CalibrationServicePrivate::characteristicWritten(), DataLoggerServicePrivate::characteristicWritten(), DsoServicePrivate::characteristicWritten(), GenericAccessServicePrivate::characteristicWritten(), MultimeterServicePrivate::characteristicWritten(), StatusServicePrivate::characteristicWritten(), createServiceObject(), serviceDiscovered(), and StatusServicePrivate::serviceDiscovered().
References StatusService::CharacteristicUuids::buttonPress, QLowEnergyCharacteristic::isValid(), StatusServicePrivate::parseButtonPress(), and QLowEnergyCharacteristic::value().
+References StatusService::CharacteristicUuids::buttonPress, QLowEnergyCharacteristic::isValid(), StatusServicePrivate::parseButtonPress(), and QLowEnergyCharacteristic::value().
Referenced by StatusCommand::outputDeviceStatus().
References QLowEnergyCharacteristic::isValid(), StatusServicePrivate::parseTorchStatus(), StatusService::CharacteristicUuids::torch, and QLowEnergyCharacteristic::value().
+References QLowEnergyCharacteristic::isValid(), StatusServicePrivate::parseTorchStatus(), StatusService::CharacteristicUuids::torch, and QLowEnergyCharacteristic::value().
Referenced by StatusCommand::outputDeviceStatus().
Referenced by StatusServicePrivate::characteristicRead(), StatusCommand::outputDeviceStatus(), StatusServicePrivate::parseButtonPress(), StatusServicePrivate::parseStatus(), StatusServicePrivate::parseTorchStatus(), and SetTorchCommand::serviceDetailsDiscovered().
+Referenced by StatusServicePrivate::characteristicRead(), StatusCommand::outputDeviceStatus(), StatusServicePrivate::parseButtonPress(), StatusServicePrivate::parseStatus(), StatusServicePrivate::parseTorchStatus(), and SetTorchCommand::serviceDetailsDiscovered().
Definition at line 737 of file statusservice.cpp.
-Definition at line 734 of file statusservice.cpp.
+Definition at line 794 of file statusservice.cpp.
-Definition at line 791 of file statusservice.cpp.
+References AbstractPokitServicePrivate::characteristicWritten(), StatusService::CharacteristicUuids::deviceCharacteristics, StatusService::CharacteristicUuids::flashLed, StatusService::CharacteristicUuids::name, QLowEnergyCharacteristic::name(), AbstractPokitServicePrivate::serviceUuid, StatusService::CharacteristicUuids::status, StatusService::CharacteristicUuids::torch, QObject::tr(), and QLowEnergyCharacteristic::uuid().
@@ -778,27 +778,27 @@0x02
. It appears that the Pokit Android app only ever looks at bytes[1]
.Definition at line 695 of file statusservice.cpp.
-Definition at line 692 of file statusservice.cpp.
+References QString::arg(), QByteArray::at(), AbstractPokitServicePrivate::checkSize(), StatusService::toString(), and QObject::tr().
@@ -885,7 +885,7 @@Referenced by characteristicRead(), and StatusService::deviceCharacteristics().
+Referenced by characteristicRead(), and StatusService::deviceCharacteristics().
Status
characteristic is 5 bytes. API 1.00 then added an additional byte for Battery Status
, for 6 bytes in total. However, Pokit Pro devices return 8 bytes here. The purpose of those last 2 bytes are not currently known. Note also, Pokit Meter only uses the first 5 bytes - ie Battery Status
is not present.Update: it appears that the first of those 2 extra bytes is used to indicate the phycical switch position.
+Status
characteristic is 5 bytes. API 1.00 then added an additional byte for Battery Status
, for 6 bytes in total. However, Pokit Pro devices return 8 bytes here. It appears that the first of those 2 extra bytes is used to indicate the physical switch position, while the other extra byte indicates the device's current charging status. Definition at line 626 of file statusservice.cpp.
Referenced by characteristicRead(), and StatusService::status().
+Referenced by characteristicRead(), and StatusService::status().
Definition at line 678 of file statusservice.cpp.
+References QString::arg(), QByteArray::at(), AbstractPokitServicePrivate::checkSize(), StatusService::toString(), and QObject::tr().
@@ -1085,17 +1081,17 @@Definition at line 721 of file statusservice.cpp.
-Definition at line 718 of file statusservice.cpp.
+SWITCH_MODE_VOLTAGE
, SWITCH_MODE_ALL
and SWITCH_MODE_CURRENT
. The button event is the second byte, but no idea what the first byte is. In all examples I've see it's always 0x02
. It appears that the Pokit Android app only ever looks at bytes[1]
.
Note, we can actually write to the Button Press characteristic too. If we do, the whatever we set as the first byte persists, and (unsurprisingly) the second byte reverts to the current button state. So still no idea what that first byte is for.
+Note, we can actually write to the Button Press characteristic too. If we do, then whatever we set as the first byte persists, and (unsurprisingly) the second byte reverts to the current button state. So still no idea what that first byte is for.
Status
characteristic is 5 bytes. API 1.00 then added an additional byte for Battery Status
, for 6 bytes in total. However, Pokit Pro devices return 8 bytes here. The purpose of those last 2 bytes are not currently known. Note also, Pokit Meter only uses the first 5 bytes - ie Battery Status
is not present.Status
characteristic is 5 bytes. API 1.00 then added an additional byte for Battery Status
, for 6 bytes in total. However, Pokit Pro devices return 8 bytes here. It appears that the first of those 2 extra bytes is used to indicate the physical switch position, while the other extra byte indicates the device's current charging status. Referenced by StatusService::buttonPress(), StatusServicePrivate::characteristicRead(), PokitDevice::charcteristicToString(), StatusService::disableButtonPressedNotifications(), StatusService::enableButtonPressedNotifications(), StatusService::readButtonPressCharacteristic(), and StatusService::readCharacteristics().
+Referenced by StatusService::buttonPress(), StatusServicePrivate::characteristicRead(), PokitDevice::charcteristicToString(), StatusService::disableButtonPressedNotifications(), StatusService::enableButtonPressedNotifications(), StatusService::readButtonPressCharacteristic(), and StatusService::readCharacteristics().
Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::deviceCharacteristics(), and StatusService::readDeviceCharacteristics().
+Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::deviceCharacteristics(), and StatusService::readDeviceCharacteristics().
Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), and StatusService::flashLed().
+Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), and StatusService::flashLed().
Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::deviceName(), StatusService::readNameCharacteristic(), and StatusService::setDeviceName().
+Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::deviceName(), StatusService::readNameCharacteristic(), and StatusService::setDeviceName().
Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::disableStatusNotifications(), StatusService::enableStatusNotifications(), StatusService::readStatusCharacteristic(), and StatusService::status().
+Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::disableStatusNotifications(), StatusService::enableStatusNotifications(), StatusService::readStatusCharacteristic(), and StatusService::status().
Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::disableTorchStatusNotifications(), StatusService::enableTorchStatusNotifications(), StatusService::readCharacteristics(), StatusService::readTorchCharacteristic(), StatusService::setTorchStatus(), and StatusService::torchStatus().
+Referenced by StatusServicePrivate::characteristicRead(), StatusServicePrivate::characteristicWritten(), PokitDevice::charcteristicToString(), StatusService::disableTorchStatusNotifications(), StatusService::enableTorchStatusNotifications(), StatusService::readCharacteristics(), StatusService::readTorchCharacteristic(), StatusService::setTorchStatus(), and StatusService::torchStatus().
Referenced by isPokitProduct(), pokitProduct(), StatusServicePrivate::serviceDiscovered(), and PokitDevice::serviceToString().
+Referenced by isPokitProduct(), pokitProduct(), StatusServicePrivate::serviceDiscovered(), and PokitDevice::serviceToString().
@@ -180,7 +180,7 @@Referenced by isPokitProduct(), pokitProduct(), StatusServicePrivate::serviceDiscovered(), and PokitDevice::serviceToString().
+Referenced by isPokitProduct(), pokitProduct(), StatusServicePrivate::serviceDiscovered(), and PokitDevice::serviceToString().