Thanks jaap, here is more information:

Header is 1byte and its format
7 6 5     4 3 2 1 0  bit
type        XXXXX
Messages is 20 bytes
Binary data is unknown
After getting the first 3 bits from header:

Format of this payload will depend on the first 3 bits of header (bit Type
field)
-------------------------------------------------
Header|Message              if first 3 bits (type) is 000
Header|Binary Data                                         001
Header|Message|Binary Data                           111
-------------------------------------------------

On 3/6/07, Jaap Keuter <[EMAIL PROTECTED]> wrote:

Hi,

You'll have to provide a little more detail than this. What size are
header, message and data? Are they packed in a byte? format stuff like
that.

Thanx,
Jaap


On Tue, 6 Mar 2007, Steven Le wrote:

> I have to dissect this payload.
>
> Header  | message | data
>
> After getting the first 3 bits from header: 000 -> Header
>
010
> -> Header|Message
>
001
> -> Header|Binary Data
>
011
> -> Header|Message|Binary Data
>
> How can I hand off from Header to certain block?
>

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to