On 8/1/07, Hristo Bojkov <[EMAIL PROTECTED]> wrote:
> Thanks Michael,
> In the AM.h in TOS2 there are few defines only for addresses. The message
> structure for the radio is changed, but the HDLC packets should be in same
> format. The defines about HDLC are in fact in Serial.h and I can see that
> flag byte is the same, so HDLC enabled program for TOS 1 should read serial
> packets from TOS 2. See the enum:
>    enum  {
>        HDLC_FLAG_BYTE = 0x7e,
>        HDLC_CTLESC_BYTE = 0x7d,
>    };
>
> So I know I've miss something, but for now I am not able to see where is the
> problem.

It's still HDLC, but there are some packet format changes.  See section 3.6 in
http://tinyos.cvs.sourceforge.net/*checkout*/tinyos/tinyos-2.x/doc/html/tep113.html
for the current format. The changes are essentially:
- the Dispatch (D) byte is new
- We changed the values for the Protocol (P) byte to prevent T1 and T2
motes/PCs confusing each other (given the addition of the D byte, and
changes to how higher-level packets are sent)

David Gay
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to