Hello Murtuza!

As the Makefile states in contrib/xbow/apps/Surge_Low_Power,
CC1000ControlM.nc is searched in the
directory ../../tos/CC1000RadioPulse (which is
contrib/xbow/tos/CC1000RadioPulse).
GetPower() is defined in line 96 of
contrib/xbow/tos/CC1000RadioPulse/CC1000RadioIntM.nc

  96     command uint16_t GetPower();

and implemented from line 1114:

1114  command uint16_t GetPower() {
1115    return power_sum;
1116  }

Best regards,
    Peter Vizi
On Wed, 2007-05-09 at 22:37 -0500, Murtuza wrote:
> Hi 
> thanks for the reply. But i wanted sth else. In
> tos/contrib/xbow/apps/Surge_Low_Power/SurgeM.nc there is this
> following line,
> 
>  SurgeM.GetPower -> CC1000RadioIntM.GetPower;
> 
> GetPower is wired with CC1000RadioIntM. But in this module there is
> not GetPower.
>  Check this file..tos/contrib/xbow/apps/Surge_Low_Power/Surge.nc
> 
> Can you tell me why?
> 
> Thanking You
> MMA
> 
> 
> 
> 
> On 09/05/07, Michael Schippling <[EMAIL PROTECTED]> wrote:
>         There's  GetRFPower() in tos/platform/mica2/CC1000ControlM.nc
>         Is that what you want? 
>         MS
>         
>         
>         
>         Murtuza wrote:
>         > Hi friends
>         >
>         > I was looking at Surge application in the contrib/xbow/apps
>         directory of
>         > tinyos-1.x. In the file Surge_Low_Power/SurgeM.nc there is a
>         > functionality GetPower() in the provides{ } part of the
>         code. This is 
>         > provided by the CC1000RadioIntM component. But when I looked
>         at
>         > CC1000RadioIntM.nc I did not find the GetPower() function in
>         it. Can
>         > anybody tell what could the reason be. I checked in
>         > platform/mica2/CC1000RadioIntM.nc file. 
>         >
>         > Thanking You
>         > MMA
>         >
>         >
>         >
>         
> ------------------------------------------------------------------------
>         >
>         > _______________________________________________
>         > Tinyos-help mailing list 
>         > [email protected]
>         >
>         
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- 
       Vizi Peter
 e-mail:  [EMAIL PROTECTED]
 mobil:   +36-30-4074502
 pgp:     http://digitus.itk.ppke.hu/~gordon/gordon.pgp

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to