[Tinyos-help] Send Data "Hello Wold"
Sonia Pardo
shanya86bcn at gmail.com
Mon Jan 12 08:59:42 PST 2009
Dear All,
I'm trying send data from mote A to mote B whit this structure:
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_uint32_t datatx
} PacketLinkMsg;
In this case datatx is a int, but I want to send a sentence like "Hello
World". In mote B I've installed a base station, where i can read the data i
receive.
I guess It should be declaring a string or a char, but I've problems whit
this and i don't know how to do it.
Can you help me please?
Thanks a lot
Sonia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090112/db6c0eb7/attachment.htm
More information about the Tinyos-help
mailing list