summaryrefslogtreecommitdiff
path: root/doc/polaris_pwk_1725cgld.md
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-28 03:22:30 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-30 03:47:49 +0300
commit8f20c9b825cabab7a3f0f5dd2cfe000cc7f72c28 (patch)
treeb5d7446e7b2fcfd42b1e5029aeef33ecb5f9715f /doc/polaris_pwk_1725cgld.md
parentee09bc98aedfc6a65a5026432b399345a30a39c8 (diff)
polaris pwk 1725cgld full support
- significant improvements, correctnesses and stability fixes in protocol implementation - correct handling of device appearances and disappearances - flawlessly functioning telegram bot that re-renders kettle's state (temperature and other) in real time
Diffstat (limited to 'doc/polaris_pwk_1725cgld.md')
-rw-r--r--doc/polaris_pwk_1725cgld.md43
1 files changed, 41 insertions, 2 deletions
diff --git a/doc/polaris_pwk_1725cgld.md b/doc/polaris_pwk_1725cgld.md
index 8c9ba90..edd439b 100644
--- a/doc/polaris_pwk_1725cgld.md
+++ b/doc/polaris_pwk_1725cgld.md
@@ -44,7 +44,7 @@ From `devices.json`:
### Random notes
-All commands, from `com/polaris/iot/api/comments`:
+All commands, from `com/polaris/iot/api/commands`:
```
$ grep -A1 -r "public byte getType()" .
./CmdAccessControl.java: public byte getType() {
@@ -168,4 +168,43 @@ $ grep -A1 -r "public byte getType()" .
./CmdChildLock.java- return 30;
```
-See also `com/syncleoiot/**/commands`. \ No newline at end of file
+From `com/syncleoiot/iottransport/udp/commands`:
+```
+$ grep -A1 -r "public byte getType()" .
+./CmdDeviceDiagnostics.java: public byte getType() {
+./CmdDeviceDiagnostics.java- return -111;
+--
+./CmdHandshake.java: public byte getType() {
+./CmdHandshake.java- return 0;
+--
+./CmdUdpFirmware.java: public byte getType() {
+./CmdUdpFirmware.java- return -3;
+--
+./CmdTimeSync.java: public byte getType() {
+./CmdTimeSync.java- return -128;
+--
+./CmdPing.java: public byte getType() {
+./CmdPing.java- return -1;
+```
+
+From `com/syncleoiot/iottransport/commands`:
+```
+$ grep -A1 -r "public byte getType()" .
+./CmdCrossConfig.java: public byte getType() {
+./CmdCrossConfig.java- return -125;
+--
+./CmdWifiConfiguration.java: public byte getType() {
+./CmdWifiConfiguration.java- return -126;
+--
+./CmdDiagnostics.java: public byte getType() {
+./CmdDiagnostics.java- return -115;
+--
+./CmdWifiStatus.java: public byte getType() {
+./CmdWifiStatus.java- return -126;
+--
+./CmdHardware.java: public byte getType() {
+./CmdHardware.java- return 0;
+--
+./CmdWifiList.java: public byte getType() {
+./CmdWifiList.java- return -127;
+``` \ No newline at end of file