Hi,
You're right. The problem was solved when I compiled the program on another 
tos1 core. Thank you for that.
But still the main question persists:
why is there a call to RadioControl.power()  while RadioControl is an alias of 
StdControl?
(same SecDedRadioByteSignal.nc file is found in the latter tos1 installation 
and StdControl dosn't have a command called power )

wahid


--- On Mon, 8/24/09, Marco Antonio Lopez Trinidad <[email protected]> wrote:

From: Marco Antonio Lopez Trinidad <[email protected]>
Subject: Re: [Tinyos-help] "StdControl as RadioControl" and 
"RadioControl.power" !!!
To: "Wahid" <[email protected]>
Date: Monday, August 24, 2009, 4:24 PM

It is an issue from the Crossbow TinyOS implementation which is based on 1.x.
You have to contact Crossbow support.

Current TinyOS is 2.x and 1.x is no more supported.
--marco.

> Hi,
>
> I found the following code in  system/SecDedRadioByteSignal.nc :
>    call RadioControl.power();
> But "RadioControl" is the renaming of "StdControl", and command "power(...)"
> is not a part of interface "StdControl".
>
> Strangely, when I compile my program i get this error:
>
> In file included from /opt/MoteWorks/tos/system/RadioCRCPacket.nc:56,
>                  from /opt/MoteWorks/tos/system/GenericComm.nc:69,
>                  from sensorNode.nc:15:
> In component `SecDedRadioByteSignal':
> /opt/MoteWorks/tos/system/SecDedRadioByteSignal.nc: In function
> `ByteComm.txByte':
> /opt/MoteWorks/tos/system/SecDedRadioByteSignal.nc:168: interface has no
> command or event named `power'
> .
> .
> .
>
> I'm using moteworks(tos1)
> I'll appreciate your kind help
>
> Thanks and best,
>
>
>
>
>






      
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to