Hi,
Let say that I have one message structure defined as follows:
typedef nx_struct MyMsg {
...
value;
} MyMsg;
BaseStation adapts the value:
myMsg->value++;
and then sends.
Upon the reception, the Source access the value and store in the temp
variable:
temp = myMsg->value;
My problem is that 'temp' is always zero.
Any helps would be appreciated.
Ittipong
2009/3/2 Ittipong Khemapech <[email protected]>
> Hi all,
>
> I've been stuck with this problem. I have one message structure for
> BaseStation and Source. After data reception, BaseStation set value to a
> particular field. The Source then gets that value and uses it.
>
> The problem is the get value is always zero. Have I missed something or are
> there any aspects I should keep in mind?
>
> I've been debugging the codes, other parts work fine.
>
> Thanks,
> Ittipong
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help