summaryrefslogtreecommitdiff
path: root/cesar/tools/hpav_decode/data/S28_BEACON_decod.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/tools/hpav_decode/data/S28_BEACON_decod.txt')
-rw-r--r--cesar/tools/hpav_decode/data/S28_BEACON_decod.txt180
1 files changed, 180 insertions, 0 deletions
diff --git a/cesar/tools/hpav_decode/data/S28_BEACON_decod.txt b/cesar/tools/hpav_decode/data/S28_BEACON_decod.txt
new file mode 100644
index 0000000000..f644b0f1ee
--- /dev/null
+++ b/cesar/tools/hpav_decode/data/S28_BEACON_decod.txt
@@ -0,0 +1,180 @@
+HomePlug AV FRAME CONTROL :
+
+00000010 (0x40) => 01000000 => 0x40 -----000 DTAV = Beacon ; ----0--- ACCESS = in-home network ; 0000---- SNID = 4
+10111010 (0x5d) => 01011101 => 0x5d \
+00001110 (0x70) => 01110000 => 0x70 |
+10111000 (0x1d) => 00011101 => 0x1d |
+11101001 (0x97) => 10010111 => 0x97 / BTS = 0x971d705d (2535288925)
+11110100 (0x2f) => 00101111 => 0x2f \
+00000000 (0x00) => 00000000 => 0x00 / BTO(0) = 0x002f (47)
+01111101 (0xbe) => 10111110 => 0xbe \
+11111111 (0xff) => 11111111 => 0xff / BTO(1) = 0xffbe (-66)
+00110010 (0x4c) => 01001100 => 0x4c \
+11111111 (0xff) => 11111111 => 0xff / BTO(2) = 0xff4c (-180)
+01110001 (0x8e) => 10001110 => 0x8e \
+10111111 (0xfd) => 11111101 => 0xfd / BTO(3) = 0xfd8e (-626)
+00101110 (0x74) => 01110100 => 0x74 \
+10100111 (0xe5) => 11100101 => 0xe5 |
+10100110 (0x65) => 01100101 => 0x65 / CRC24 = 0x65e574
+
+40.5d.70.1d.97.2f.00.be.ff.4c.ff.8e.fd.74.e5.65.
+
+Lancement processus de test CRC :
+ ~/workspace/cesar/tools/hpav_decode/obj/test_crc -@ 0804c740 -s 16 -f > HP_AV_FC_tmp.txt 2>&1 ...
+running suite: crc
+100%, tests: 53, failures: 0
+taille buffer (frame control) = 16 (13 octets utiles + CRC24)
+40.5d.70.1d.97.2f.00.be.ff.4c.ff.8e.fd.74.e5.65.
+CRC24 expected = 0x0065e574
+
+
+HomePlug AV PAYLOAD :
+
+01000000 (0x02) => 00000010 => 0x02 \ 00000010
+11010110 (0x6b) => 01101011 => 0x6b | 01101011
+11010011 (0xcb) => 11001011 => 0xcb | 11001011
+10100101 (0xa5) => 10100101 => 0xa5 | 10100101
+10101100 (0x35) => 00110101 => 0x35 | 00110101
+01110010 (0x4e) => 01001110 => 0x4e | 01001110
+00010001 (0x88) => 10001000 => 0x88 / --001000 NID = 0x084e35a5cb6b02 ; --00---- SL = 0 (Simple-Connect) 10------ HM = 2 (Fully Hybrid mode)
+10000000 (0x01) => 00000001 => 0x01 > STEI = 1 (0x01)
+00000000 (0x00) => 00000000 => 0x00 > -----000 BT = 0 (Central Beacon) ; ----0--- NCNR = 0 (no Non-Coordinating networks reported) ; ---0---- NPSM = 0 (not in Power-Saving mode) ; 000----- NumSlots = 0 (=> 1 Beacon slots)
+10000000 (0x01) => 00000001 => 0x01 > SlotUsage = 00000001
+00000000 (0x00) => 00000000 => 0x00 > -----000 SlotID = 0 (1st Beacon Slot); --000--- ACLSS = 0 (AC Line Cycle Sync on 1st Beacon Slot) ; -0------ HOIP = 0 (no Handover in progress) ; 0------- RTSBF = 0 (MPDUs don't have to use RTS/CTS)
+01000000 (0x02) => 00000010 => 0x02 > ------10 NM = 2 (CSMA-Only Mode); ----00-- CCoCap = 0 (Level-0 CCo capable, does not support QoS and TDMA) ; 0000---- (Reserved bits)
+00100000 (0x04) => 00000100 => 0x04
+10000000 (0x01) => 00000001 => 0x01
+01100000 (0x06) => 00000110 => 0x06
+00000000 (0x00) => 00000000 => 0x00
+10000000 (0x01) => 00000001 => 0x01
+10111111 (0xfd) => 11111101 => 0xfd
+00101100 (0x34) => 00110100 => 0x34
+00001100 (0x30) => 00110000 => 0x30
+00101111 (0xf4) => 11110100 => 0xf4
+01000000 (0x02) => 00000010 => 0x02
+10100000 (0x05) => 00000101 => 0x05
+01000000 (0x02) => 00000010 => 0x02
+10100010 (0x45) => 01000101 => 0x45
+11000000 (0x03) => 00000011 => 0x03
+10001100 (0x31) => 00110001 => 0x31
+00101111 (0xf4) => 11110100 => 0xf4
+11000000 (0x03) => 00000011 => 0x03
+01100000 (0x06) => 00000110 => 0x06
+00000000 (0x00) => 00000000 => 0x00
+11010000 (0x0b) => 00001011 => 0x0b
+11011100 (0x3b) => 00111011 => 0x3b
+00111000 (0x1c) => 00011100 => 0x1c
+01100110 (0x66) => 01100110 => 0x66
+01011011 (0xda) => 11011010 => 0xda
+01100000 (0x06) => 00000110 => 0x06
+11000000 (0x03) => 00000011 => 0x03
+10101001 (0x95) => 10010101 => 0x95
+00111000 (0x1c) => 00011100 => 0x1c
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+00000000 (0x00) => 00000000 => 0x00
+01101110 (0x76) => 01110110 => 0x76 \
+11010001 (0x8b) => 10001011 => 0x8b |
+00000101 (0xa0) => 10100000 => 0xa0 |
+01001010 (0x52) => 01010010 => 0x52 / CRC32 = 0x52a08b76
+
+02.6b.cb.a5.35.4e.88.01.00.01.00.02.04.01.06.00.01.fd.34.30.f4.02.05.02.45.03.31.f4.03.06.00.0b.3b.1c.66.da.06.03.95.1c.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.76.8b.a0.52.
+
+Lancement processus de test CRC :
+ ~/workspace/cesar/tools/hpav_decode/obj/test_crc -@ 0804c740 -s 136 -p > HP_AV_PLD_tmp.txt 2>&1 ...
+running suite: crc
+100%, tests: 53, failures: 0
+taille buffer (payload) = 136 (132 octets utiles + CRC32)
+02.6b.cb.a5.35.4e.88.01.00.01.00.02.04.01.06.00.01.fd.34.30.f4.02.05.02.45.03.31.f4.03.06.00.0b.3b.1c.66.da.06.03.95.1c.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.76.8b.a0.52.
+CRC32 expected = 0x52a08b76
+
+