From 0fbad2ecec8198bb28b52b593036b9f58d9784ca Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 12 Dec 2014 15:16:49 +0100 Subject: [PATCH] better protocol decode info --- dumps/Portmon1.log.txt | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/dumps/Portmon1.log.txt b/dumps/Portmon1.log.txt index 0e7d04d..2c02c27 100644 --- a/dumps/Portmon1.log.txt +++ b/dumps/Portmon1.log.txt @@ -2,7 +2,7 @@ protocol: send: -LL TT XX XX EE CC +LL TT AT Z0 AA EE CC LL - length of message (including checksum) TT - type of message @@ -12,10 +12,25 @@ TT - type of message 03 - error? 0A - software version 80 - change params -XX - data +AT - Address Type (from AdmAddressType) + 0,"Symbolic address" + 1,"Absolute address" + 2,"Command" +Z1 - always 0? +AA - symbol to query (from SymbolNames table for type 00) EE - expected return value (length of reply - 3 bytes) CC - checksum +reponse: + +LL SS DD DD ... CC + +LL - length +SS - status + 00 - ok + 01 - checksum error +DD - return values +CC - checksum # hardware version > 07 02 00 00 00 04 C4 @@ -1224,9 +1239,9 @@ CC - checksum < 08 00 00 93 0B 09 FB 0B > 07 00 00 00 26 0A A6 < 0D 00 1D 1D 16 16 18 16 14 14 96 64 7C + > 07 02 00 00 00 04 C4 < 08 00 00 93 0B 09 FB 0B - > 07 00 00 00 39 02 90 < 05 00 04 06 26 > 07 00 00 00 18 03 D3 @@ -1255,6 +1270,8 @@ CC - checksum < 04 00 0F 1F > 07 00 00 00 05 01 EB < 04 00 0F 1F + + > 07 02 00 00 00 04 C4 < 08 00 00 93 0B 09 FB 0B > 07 00 00 00 39 02 90 @@ -1285,6 +1302,7 @@ CC - checksum < 04 00 0F 1F > 07 00 00 00 05 01 EB < 04 00 0F 1F + > 07 02 00 00 00 04 C4 < 08 00 00 93 0B 09 FB 0B > 07 00 00 00 39 02 90 -- 2.20.1