First, you probably should have declared nx_uint8_t datatx[14]
rather than an empty [] which turns into a pointer (unless the
nx_ type handlers are smarter than me). Unfortunately the default
message size in T2 is 28 bytes. Search this list for ways to increase
that size, and the concomitant problems thereof. Or you can send
a second message with more text.
MS
Sonia Pardo wrote:
> Dear All,
>
>
> If I use this structure I can send in datatx only 14 characters
> (28bytes). In this case I wish send more characters, so I need more
> bytes.
>
>
>
>
> typedef nx_struct PacketLinkMsg {
> nx_uint32_t count;
> nx_uint32_t loss;
> nx_uint16_t src;
> nx_uint8_t cmd;
> nx_uint16_t sync;
> nx_int8_t rssin;
> nx_uint8_t datatx[]
> } PacketLinkMsg;
>
> In Telosb Can I use nx_uint16_t datatx[] or nx_uint32_t datatx[] to
> obtain it?
>
> I believe yes, but I'm not sure.
> Can you help me please?
>
> Thanks in advanced!!
>
> Sonia
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help