Users browsing this thread: 1 Guest(s)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Packet reading
05-01-2010, 09:31 AM,
#10
RE: Packet reading
Thats the beauty... You need to test each and every individual packet by picking it out of the blocks. I will now post the data necessary:

For those Testing packets the header for each packet is: 02 04 01 <counter> 01

Counter starts 00 15 then continues in hex upwards!

*for reality version 2. Future releases may differ.

Standard structure for 04 packets:

* Single 04

- With one msgblock:

02 04 01 [counter] 01 [MsgBlock Length + data]

- with several msgblock:

02 04 01 [counter] [number of Msgblocks] [MsgBlock1 Length + data] [MsgBlock2 Length + data] ...


* 04 combination

-With one msgblock:

-02 04 01 [counter] 01 [MsgBlock Length + data] [counter+1] 01[MsgBlock2 Length + data]

- with several msgblock:

02 04 01 [counter] [number of Msgblocks] [MsgBlock1 Length + data] [MsgBlock2 Length + data] ... [counter+N] [number2 of Msgblocks] [MsgBlock3 Length + data] [MsgBlock4 Length + data] ...

*Counter increases in +X, depending on the X msgblocks sent before it. +2 if 2 msgblocks were sent and so on.

Standard structure for 04 Msgblocks

General structure:

Length Header Data

Example (buddy status):

2a 80 d7 08 00 3B 00 00 8e 25 00 53 4f 45 2b 4d 58 4f 2b 56 65 63 74 6f 72 2d 48 6f 73 74 69 6c 65 2b 65 6e 74 69 6c 73 61 72 00


* lenght is limited b definition to 255 decimal.
** length includes header bytes
*** header is always 2 bytes. If starting with 8x, the gamecode header is 8X YY - 80 00. In the example shown, "00 d7".

Information is thanks to Morpheus helping me compile it properly!
Reply


Messages In This Thread
Packet reading - by Parallax - 04-29-2010, 03:54 AM
RE: Packet reading - by Morpheus - 04-29-2010, 06:42 AM
RE: Packet reading - by Parallax - 04-29-2010, 08:44 AM
RE: Packet reading - by Parallax - 04-30-2010, 01:54 PM
RE: Packet reading - by Morpheus - 04-30-2010, 08:43 PM
RE: Packet reading - by Neo - 04-30-2010, 10:03 PM
RE: Packet reading - by Valaro - 04-30-2010, 10:12 PM
RE: Packet reading - by Morpheus - 04-30-2010, 10:47 PM
RE: Packet reading - by Parallax - 04-30-2010, 11:57 PM
RE: Packet reading - by Valaro - 05-01-2010, 09:31 AM
RE: Packet reading - by Parallax - 05-02-2010, 03:28 PM
RE: Packet reading - by Morpheus - 05-02-2010, 09:15 PM
RE: Packet reading - by Parallax - 05-07-2010, 12:46 PM
RE: Packet reading - by Morpheus - 05-07-2010, 07:40 PM

Forum Jump: