I have apparently confused myself with new code...

I'm just starting to do useful work with Boomerang and Tmote sky.
I believe this means TOS1.1.15 plus now-defunct Moteiv addons.

Running the CountUart demo, I get this data stream from Listen:

        04 00 00 00 00 00 7E 00 04 7D 00 1C 00 01
        04 00 00 00 00 00 7E 00 04 7D 00 1D 00 01
        04 00 00 00 00 00 7E 00 04 7D 00 1E 00 01  ...
                          ^  ^        !  !

According to my reading of the telos/AM.h file, the bytes marked
with the hats ^ (bytes 6 & 7) are the destination address, which
for the UART is 0x007E. This value seems to be in little-endian
format. The bytes marked with bangs ! (bytes 10 & 11) are the
count value from the CountMsg payload, but this seems to be in
big-endian format, as does the next value (the mote source ID)
of 0x0001.

What am I looking at wrong here?

thx
MS
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to