-
Notifications
You must be signed in to change notification settings - Fork 46
0xd5 and 0x05 Command
Eelke Jager edited this page Dec 14, 2018
·
11 revisions
The 0xd5 part is continued from the 1d command and sits before the 0x05 command as an unknown type. It looks like the garbled version of the ID1 and ID2 and CRC:
For example this line and the status response received by the rileylink just before:
2018-12-14T20:20:57.009 ID1:d5d5d5d5 PTYPE:CON SEQ:30 CON:0f811adffe8f811adf86050e8c0044480000040bff810b CRC:4f
2018-12-14 20:20:56.616328+0100 Loop[1647:155640] [PeripheralManager+RileyLink] RL Recv(single): dd21bb1f0235bffd1f0235bf0c0a1d1800889000000817ff02169f
Put next to each other:
dd 21 bb 1f0235bf fd 1f0235bf 0c 0a 1d1800889000000817ff02169f
d5 .. 0f 811adffe 8f 811adf86 .. 4f 050e8c0044480000040bff810b
d5 .. 0f 811adff6 0f 811adf92 // 18:02:09
d5 .. 0f 811adfff 0f 811adf8a // 18:27:28
d5 .. 0f 811adfff 8f 811adf9e // 19:39:31
d5 .. 0f 811adffe 8f 811adf86 // 21:53:05
d5 9e 0f 859aaa77 8f 859aaa04
d5 9e 0f 82f384f9 8f 82f3849e
d5 9e 0f 82f38578 0f 82f38508
d5 9e 0f 859aaa7e 8f 859aaa1c
d5 9e 0f 859aab7e 8f 859aab16
This command is send or received every half hour when a first status is requested in a new half hour entry.
The $05 Extra command format is as follows:
00 01 02 03 0405 0607 08 09 0A 0B0C 0D 0E 0F
05 LL CC 00 EEEE 0000 GG HH ff JJJJ .. .. ..
// 11:45 Pod started
05 0e 8c 00 2d30 0000 02 f5 ff 8177 // 18:02:09
05 0e 8c 00 2f70 0000 03 27 ff c1c5 // 18:27:28
05 0e 8c 00 40c8 0000 03 b7 ff c175 // 19:39:31
05 0e 8c 00 4448 0000 04 0b ff 810b // 20:20:57
-
05
(1 byte): Mtype value of $05 specifies ... -
LL
(1 byte): Length, always $0e (14 bytes) -
CC
(1 byte): always 8c, meaning unknown -
00
(1 byte): always 00 -
EEEE
(2 bytes): time elapsed between start Pod and start of (current?) segment 0x2d30 = 11569 sec = 03:12:48 -
0000
(2 bytes): always 0000 -
GG
(1 byte): hour since start of segment, 02 = 3rd hour, segment started @ 16:00 = 0x00 -
HH
(1 byte): countdown of segment, specific calculation not found yet: f5 = 245/60-> 4, b7 = 183/60 -> 3,
05 LL CC 00 EEEE 0000 GG HH ff JJJJ
05 0e 8c 00 38c4 0000 04 33 ff 80fa
05 0e 8c 00 35b8 0000 06 99 ff 81d
05 0e 8c 00 0eb8 0000 00 1d ff 806
05 0e 8c 00 37b4 0000 04 09 ff 810
05 0e 8c 00 10e8 0000 00 55 ff c0e9
using this terminal command: egrep 'f811ad' *.omni
2018-12-14T13:02:16.560 ID1:ad5d5d5d PTYPE:ACK SEQ:25 ID2:e0f811ad CRC:b9
2018-12-14T15:12:07.717 ID1:aaeaead5 PTYPE:CON SEQ:30 CON:0f811adfe11f CRC:02
2018-12-14T15:30:26.781 ID1:ad5d5d5d PTYPE:ACK SEQ:25 ID2:e0f811ad CRC:11
2018-12-14T18:02:09.433 ID1:d5d5d5d5 PTYPE:CON SEQ:30 CON:0f811adff60f811adf92050e8c002d30000002f5ff8177 CRC:2c
2018-12-14T18:27:28.357 ID1:d5d5d5d5 PTYPE:CON SEQ:30 CON:0f811adfff0f811adf8a050e8c002f7000000327ffc1c5 CRC:7d
2018-12-14T19:21:10.113 ID1:1f0235bf PTYPE:UNKOWN SEQ:25 ID2:0f811adf CRC:8c
2018-12-14T19:39:31.020 ID1:d5d5d5d5 PTYPE:CON SEQ:30 CON:0f811adfff8f811adf9e050e8c0040c8000003b7ffc175 CRC:fd
2018-12-14T19:52:33.883 ID1:ad5d5d5d PTYPE:ACK SEQ:25 ID2:e0f811ad CRC:25
2018-12-14T19:56:37.776 ID1:ad5d5d5d PTYPE:ACK SEQ:25 ID2:e0f811ad CRC:c6
2018-12-14T20:16:53.818 ID1:ad5d5d5d PTYPE:ACK SEQ:25 ID2:e0f811ad CRC:97
2018-12-14T20:20:57.009 ID1:d5d5d5d5 PTYPE:CON SEQ:30 CON:0f811adffe8f811adf86050e8c0044480000040bff810b CRC:4f
2018-12-14T20:41:11.745 ID1:ad5d5d5d PTYPE:ACK SEQ:25 ID2:e0f811ad CRC:9f
2018-12-14T21:53:05.742 ID1:d5d5d5d5 PTYPE:CON SEQ:30 CON:0f811adfff8f811a CRC:de