I forward your reply to the list so the others can help you out.

Ittipong

---------- Forwarded message ----------
From: Siva Sankar Gupta <[email protected]>
Date: 2009/3/4
Subject: Re: [Tinyos-help] Reg.the Serial Forwarder application
To: Ittipong Khemapech <[email protected]>


Hi,

Thanks for the reply...

yes ur right iam using it with CC2420 radio (Tmote Sky). But in my
application i'm only using 116 bytes of payload.. So the maximum packet size
is header+payload which equals 126 which is within the limits only.......
I tried to run the application with less packet size, but the error still
exists.

with regards
Siva

2009/3/4 Ittipong Khemapech <[email protected]>

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


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

Reply via email to