Hi,

I'm trying to write a simple app for the telosb platform to take some noise
floor readings and get to grips with the programming.  I'm using the
CC2420ControlP module and its ReadRssi interface.
When I try to compile the basic app, with only stubs for the implemented
events, I get the following problems:

Firstly, I got this:

> In component `CC2420ControlP':

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function
> `Init.init':

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:128:
> `CC2420_DEF_RFPOWER' undeclared (first use in this function)

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:128: (Each
> undeclared identifier is reported only once

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:128: for each
> function it appears in.)

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:129:
> `CC2420_DEF_CHANNEL' undeclared (first use in this function)

those missing definitions were in CC2420.h, which it couldn't seem to find.
Do I have to specify a particular include path here? it seems to be looking
for it in the local directory.

I managed to get past those only to get this:

> In component `CC2420ControlP':

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function
> `ReadRssi.read':

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:372:
> RssiResource.request not connected

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function
> `CC2420Config.sync':

/opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:308:
> SyncResource.request not connected

make: *** [exe0] Error 1

which has me truly lost.

Any ideas what I'm doing wrong here? any help would be greatly appreciated.

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

Reply via email to