AISAT Downlink Issues -- Expected Behavior
As a followup to the earlier thread, I wrote a simple Python script that provides the actual behavior side-by-side the expected behavior. Notice this contains only 22 bytes in the Digipath compared to 29 bytes in the actual Digipath. This is due to removing the extra blank field at the end of the actual Digipath.
1: byteAsInt: 0, byteAsChar: , byteAsBits: 0b0, byteAsIntFixed: 0, byteAsCharFixed: , byteAsBitsFixed: 0b0 2: byteAsInt: 134, byteAsChar: C, byteAsBits: 0b10000110, byteAsIntFixed: 134, byteAsCharFixed: C, byteAsBitsFixed: 0b10000110 3: byteAsInt: 162, byteAsChar: Q, byteAsBits: 0b10100010, byteAsIntFixed: 162, byteAsCharFixed: Q, byteAsBitsFixed: 0b10100010 4: byteAsInt: 64, byteAsChar: , byteAsBits: 0b1000000, byteAsIntFixed: 64, byteAsCharFixed: , byteAsBitsFixed: 0b1000000 5: byteAsInt: 64, byteAsChar: , byteAsBits: 0b1000000, byteAsIntFixed: 64, byteAsCharFixed: , byteAsBitsFixed: 0b1000000 6: byteAsInt: 64, byteAsChar: , byteAsBits: 0b1000000, byteAsIntFixed: 64, byteAsCharFixed: , byteAsBitsFixed: 0b1000000 7: byteAsInt: 64, byteAsChar: , byteAsBits: 0b1000000, byteAsIntFixed: 64, byteAsCharFixed: , byteAsBitsFixed: 0b1000000 8: byteAsInt: 96, byteAsChar: 0, byteAsBits: 0b1100000, byteAsIntFixed: 0, byteAsCharFixed: 0, byteAsBitsFixed: 0b0 9: byteAsInt: 150, byteAsChar: K, byteAsBits: 0b10010110, byteAsIntFixed: 150, byteAsCharFixed: K, byteAsBitsFixed: 0b10010110 10: byteAsInt: 104, byteAsChar: 4, byteAsBits: 0b1101000, byteAsIntFixed: 104, byteAsCharFixed: 4, byteAsBitsFixed: 0b1101000 11: byteAsInt: 150, byteAsChar: K, byteAsBits: 0b10010110, byteAsIntFixed: 150, byteAsCharFixed: K, byteAsBitsFixed: 0b10010110 12: byteAsInt: 136, byteAsChar: D, byteAsBits: 0b10001000, byteAsIntFixed: 136, byteAsCharFixed: D, byteAsBitsFixed: 0b10001000 13: byteAsInt: 164, byteAsChar: R, byteAsBits: 0b10100100, byteAsIntFixed: 164, byteAsCharFixed: R, byteAsBitsFixed: 0b10100100 14: byteAsInt: 64, byteAsChar: , byteAsBits: 0b1000000, byteAsIntFixed: 64, byteAsCharFixed: , byteAsBitsFixed: 0b1000000 15: byteAsInt: 108, byteAsChar: 6, byteAsBits: 0b1101100, byteAsIntFixed: 12, byteAsCharFixed: 6, byteAsBitsFixed: 0b1100 16: byteAsInt: 130, byteAsChar: A, byteAsBits: 0b10000010, byteAsIntFixed: 130, byteAsCharFixed: A, byteAsBitsFixed: 0b10000010 17: byteAsInt: 146, byteAsChar: I, byteAsBits: 0b10010010, byteAsIntFixed: 146, byteAsCharFixed: I, byteAsBitsFixed: 0b10010010 18: byteAsInt: 166, byteAsChar: S, byteAsBits: 0b10100110, byteAsIntFixed: 166, byteAsCharFixed: S, byteAsBitsFixed: 0b10100110 19: byteAsInt: 130, byteAsChar: A, byteAsBits: 0b10000010, byteAsIntFixed: 130, byteAsCharFixed: A, byteAsBitsFixed: 0b10000010 20: byteAsInt: 168, byteAsChar: T, byteAsBits: 0b10101000, byteAsIntFixed: 168, byteAsCharFixed: T, byteAsBitsFixed: 0b10101000 21: byteAsInt: 84, byteAsChar: *, byteAsBits: 0b1010100, byteAsIntFixed: 64, byteAsCharFixed: , byteAsBitsFixed: 0b1000000 22: byteAsInt: 96, byteAsChar: 0, byteAsBits: 0b1100000, byteAsIntFixed: 129, byteAsCharFixed: 0, byteAsBitsFixed: 0b10000001 robertmachale@Roberts-MacBook-Pro-484 ~/Documents/SCC/AISAT-EXPLAIN $
Notice bytes 8, 15, and 22 should be treated as SubFields where the SSID occupies 4 bits rather than a fill ASCII single digit number.
Notice byte 21 should be a space because byte 22 in bit position 7 contains the Digipeated "H" bit.
Byte 22 in bit position 0 should contain the "Dnd of Digipath" bit.
Let me know your feedback and how I can help.
73s
Robert
participants (1)
-
KE6BLR Robert