Hi,

Did you change the message format in the header file?
I'm sending arrays without any problems.

I have this in my app header file:

typedef nx_struct LabelGetUpdateMsg {
      nx_uint16_t nodeid;
      nx_uint8_t text[getUpdateSize];
} LabelGetUpdateMsg;

regards

Ruben

Date: Tue, 10 Mar 2009 17:01:29 +0100
From: [email protected]
To: [email protected]
Subject: [Tinyos-help] Sending an array

Hello,
I have made an application in which every node senses the energy on 5 different 
channels during a certain time slot and then sends the results to the root 
node. Everything seems to work now but I still face one problem.

Actually, I am able to send mote-to-mote only some integers, but not an 
array... In the code below, I would like to modify "uint8_t data" into an array 
"uint8_t data[100]" as well as "int8_t ED_VAL". I have not succeeded in it... 
Does someone know how do I have to do?

Thank you very much in advance!
Regards,Laurent
-- 
Laurent Rabinowitch
ULB

_________________________________________________________________
Installeer gratis de nieuwe Messenger
http://download.live.com/messenger
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to