Last question on the subject: I'm using micaz motes and in tos/platform/micaz/AM.h, TOS_Msg->strength is listed as type uint8_t and in tos/types/AM.h, TOS_Msg->strength is listed as type uint16_t.
I found a really good reference for dissecting serial packets here: http://weblog.cs.uiowa.edu/294s05-project/uart/slides/deciphering-serial-packets.pdf My problem is that my group ID was 0x7d, which is the escape character, which had to be escaped itself. Now I have to determine whether the type is 16 or 8 bit, though I suspect it's 8 bit, since I'm using the micaz Makerules... On 1/18/06, Sam Pierson <[EMAIL PROTECTED]> wrote: > On 1/18/06, Philip Levis <[EMAIL PROTECTED]> wrote: > > On Wed, 2006-01-18 at 15:39 -0600, Sam Pierson wrote: > >>When I > > > use the java tool ListenRaw, I get things like the following: > > > > > > 7E 42 FF FF 04 7D 5D 04 22 00 01 00 EA 1E > > > 7E 42 FF FF 04 7D 5D 04 23 00 01 00 5E 68 > > > 7E 42 FF FF 04 7D 5D 04 24 00 01 00 73 39 > > In the first packet (little endian): > > 22 00 is the data value (34). > > 01 00 is the source (node 1) > > EA 1E is the signal strength (7914) > > > > Phil > > > > > Shouldn't TOS_Msg->strength be eight bits and not sixteen (not EA 1E)? > Also, I notice in my makefile that 0x7D is my AM_GROUP. > > -- > Sam Pierson > -- Sam Pierson _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
