Hello Matthias and Arik,

yep, both of you were totally right. The msg length was just too long.

I increased it and not it works fine :-)

Thank you again for your fast help!

Best,
Martin

Quoting Matthias Schmidt <[email protected]>:

> AM_TYPE is just a byte added to the payload of the message. So as long
> as you are using the same Type on each mote there should be no problem.
> Maybe you have to increase the max payload size?
>
> Good luck,
> Matthias
>
> [email protected] schrieb:
> > Hi all,
> >
> > that is my problem:
> > AM_TYPE = 6; that's what I used. This fits quite well for sending an
> Integer
> > array[10].
> >
> > Now, I send a array[10] full of structs whereas one struct refers to
> >
> > {
> >     uint_16 node_id;
> >     uint_16 pkt_counter;
> > }
> >
> > The problem is, that I do not receive any packet at the bases stations.
> >
> > I think, it is because of the wrong AM_TYPE. The TinyOS Tutorial describes,
> that
> > the AM_TYPE refers to the kind of packet that is sent.
> >
> > So, how can I determine, which AM_TYPE is the right for me?
> >
> > I would be very happy, to get some hints :)
> >
> > Thanks in advance,
> > Martin
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to