Hi all,
event TOS_MsgPtr ReceiveMsg.receive(TOS_MsgPtr m) {
CounterMessage *message = (CounterMessage*)m->data;
message->value1 = D1;
message->value2 =D2 ;
message->value3 = D3;
return m;
}
D1,D2 and D3 are sent via broadcast in a
Hi,
I'm not sure what exactly you want to do here. In the receive method you
get a pointer to an object with data you just received. The value you
received is e.g., message->value1. With the line "message->value1 ->
D1;" you are overwriting this value (you never read it). Finally, you
return t
Thanks Sir, I am clear now.
> Date: Mon, 1 Nov 2010 15:52:58 +0100
> From: urs.hunke...@epfl.ch
> To: engr_aqans...@hotmail.com
> CC: tinyos-help@millennium.berkeley.edu
> Subject: Re: [Tinyos-help] message received
>
> Hi,
>
> I'm not sure what exactly you
r_aqans...@hotmail.com
To: urs.hunke...@epfl.ch
CC: tinyos-help@millennium.berkeley.edu
Subject: RE: [Tinyos-help] message received
Date: Mon, 1 Nov 2010 17:40:24 +
Thanks Sir, I am clear now.
> Date: Mon, 1 Nov 2010 15:52:58 +0100
> From: urs.hunke...@epfl.ch
> To: engr_aq
Hi,
I have a question regarding the radio message received by the TOSbase
application from the oscilloscopeRF application.
in the TOSBaseM module UARTSendTask, the uartQueueBufs represents the message
received from the radio. does the UARTSendTask sends this message to the UART
with its origin