[Tinyos-devel] serial@ bad packets

Nithin Dara nithinkumary2k at gmail.com
Tue Jan 27 22:33:42 PST 2009


Hi all,

Iam using the SerialActiveMessageC and SerialAMSenderC to send packets from
the mote to the computer through usb.
the size of the struct that iam sending is 15

but every randomly i get the following two errors:
serial@/dev/ttyUSB0:115200:bad packet
&
serial@/dev/ttyUSB0:115200:packet too long

can anyone tell how to debug or what needs to be done to avoid this..

I have previously used printf. Even with printf iam getting the above error
messages.


--
nithind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20090128/ab66c68e/attachment.htm 


More information about the Tinyos-devel mailing list