[Tinyos-help] Problems with Tinynode and TinyOS-2.x

Maxime Muller - s h o c k f i s h / maxime at shockfish.com
Tue Sep 11 00:36:56 PDT 2007


Dear Jeremy,

i can reproduce this behavior for payload lengths of 10 and 25, the 
other lengths should be fine.
could you check that on your side?
something like
#include "message.h"
...
if (call AMSend.send(AM_BROADCAST_ADDR, 
&packet,counter%TOSH_DATA_LENGTH) == SUCCESS)
for a quick test.

ill have a look at what's happening for those 2 lengths.

Regards,
maxime
> On Sep 10, 2007, at 11:08 AM, Jeremy Gummeson wrote:
>
>> All,
>>
>> I'm a newcomer to TinyOS-2.x, and am starting to port some 
>> applications our group has written from TinyOS-1.x.
>>
>> I'm having problems receiving packets with a data field of >= 10 
>> Bytes in length.  We are using the Tinynode platform, which uses the 
>> XE1205 radio transceiver.  I tested this by changing the following 
>> line in  RadioCntToLedsC:
>>
>> if (call AMSend.send(AM_BROADCAST_ADDR, &packet, 
>> sizeof(radio_count_msg_t)) == SUCCESS) {
>>
>> to:
>>
>> if (call AMSend.send(AM_BROADCAST_ADDR, &packet,10) == SUCCESS) {
>>
>> I am able to receive anything under 10 bytes in length, and the 
>> packet contents are what I would expect.  Anything longer and I don't 
>> receive a packet at all.
>>
>> Has anyone else encountered this problem, or know of a solution?
>>
>> I am using TinyOS version 2.0.2-2, and installed from the RPMs 
>> available on tinyos.net.  All of the necessary tools are installed, 
>> and are the same versions suggested in the install instructions.
>>
>
> Can you verify if the packet is being dropped by the radio stack or 
> the active message layer? I.e., blink a LED in XE1205ActiveMessageP? 
> If it's something in the low-level stack you want to talk to the 
> tinynode maintainer, Maxime Muller.
>
> Phil
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



More information about the Tinyos-help mailing list