[Tinyos-devel] serial@ bad packets

Philip Levis pal at cs.stanford.edu
Tue Jan 27 22:56:44 PST 2009


On Jan 27, 2009, at 10:33 PM, Nithin Dara wrote:

> 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.

Please send questions to tinyos-help.

Phil



More information about the Tinyos-devel mailing list