ahhagh...thanks. MS
Philip Levis wrote: > > On Apr 25, 2008, at 1:54 AM, Nikhil Singhal wrote: >> Thanks Michael! I did some digging and I think the reason I got >> "unknown packet type 0x42" was because >> net.tinyos.packet.Serial.PROTO_PACKET_NOACK is defined as 69 not 66 >> (0x42). Changing that fixes this error. Caveat: I might not have the >> latest CVS code, so this might not apply to other people. However, >> since fixing this involved copying Packetizer.java verbatim and >> changing just one variable declaration, I personally found it simpler >> to go one level lower, and just use a SerialByteSource. > > The issue is that moteworks is sending TinyOS 1.x serial packets, and > you are using a TinyOS 2.x toolchain. In 1.x, the identifier is 66; in > 2.x it is 69. Since the two protocols are not 100% compatible... > > Phil _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
