Hi,

According to the error message, I think your payload is too long. I am sure
that you are using platform with CC2420 radio (Tmote Sky). The maximum
packet size (header + payload) is 128 bytes.

If the header is 10 bytes, that will leave you 118 bytes for the payload.

Hope this helps.

Ittipong


2009/3/4 Siva Sankar Gupta <[email protected]>

> Hello,
>
> I'm trying to run a java application which sends packets read from a text
> file to the UART with the help of Serial Forwarder.
> The tmote sky node which receives the packets over the UART will send them
> over the radio and the other node which receives the packets over the radio
> will send the packets back to the UART.
> Both the motes are connected to the same PC. But there are assigned
> different port numbers to avoid port conflicts.
>
> The total size of the TOS_Msg in my nesC application is 126 bytes
> I have the following problem.
>
> Packets are the received by the receiver node via the radio and i can see
> the raw data of the packets at the COM port assigned to this receiver node.
> But the packets are not forwarded by the Serial Forwarder..
>
> Serial Forwarder displays the following message with the raw data
>
> TOS_Msg length invalid: header length = 10, real length =126, modifying msg
> to fit...
>
> I'm using TinyOS 1.x
> platform :cygwin/WinXP
>
> Can any one help me in solving this problem.......!
>
>
> --
> Siva Sankar Gupta Guggilum
> Schubertstraße 19
> Klagenfurt,9020
> Austria
> Ph:- 0043 6606871071
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to