Maxime,

I just verified that the behavior only occurs for payloads of lengths 10 and
25.

Thanks,
-Jeremy

On 9/11/07, Maxime Muller - s h o c k f i s h / <[EMAIL PROTECTED]>
wrote:
>
> 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
> > [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