I believe that "they" changed the message structure slightly in T2
so as to be incompatible with any previous host software...Look
into the equivalent of types/AM.h to see what needs to be modified.
MS
Hristo Bojkov wrote:
Hello tinyOS coders,
I am new to TinyOS2. I have used TinyOS 1.1 for 6 months. When I tried
to switch our application to TinyOS2, I discovered strange problem. The
packets that I've received from BaseStationCC2420 are not in HDLC format
as the packets were from TOSBase of TOS1.1. I read through app.c file
and there in the code I saw files that are related to Serial
communication and HDLC, but still the packets are strange. There is no
FLAG byte 7E, also the 42 byte showing the NoACK type is missing, I am
receiving just bytes without known for me format. The BaseStationCC2420
is compiled with "make telosb" and no change is made. The receiving
application on PC is the same which we use for TOS1.1 and is capable of
decoding HDLC.
This is example of the received bytes, and there is no pause, I just cut
the lines for the mail, they are consecutive:
4788C86C4C442764A4EB9FF47C00FA080821000A0EC4A464A4A4A464E
4A4A4A5FFF07C00FA080821000A0ECFE8C9A3F7868AC0C9A1CE32321
EE47C00FA080821000A0F04E4E4246464A46764A4AABFF07C00FA080821000A0F0F242
Do I miss something?
Is there a setting I haven't set for HDLC to be used for encoding?
Platform: Timote Sky
Host OS: WinXP
Free Animations for your email - By IncrediMail! Click Here!
<http://www.incredimail.com/index.asp?id=102858>
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help