Hello,
I'd like to get some value within the CC1000 chip source, but I don't know how
to connect it so that I can access it in my application (Octopus ; should be
use as sensor value for it).
The value I 'd like to have is the 'count' variable in
tinyos-2.1.0/tos/chips/cc1000/CC1000CsmaP.nc on line 405.
++++ How can I access this one within OctopusC.nc ? ++++
I tried to write some kind of getvalue() function and connected it to the
CsmaControl interface too by adding
command uint8_t getCCAvalue();
in the file CsmaControl.nc
and
command uint8_t CsmaControl.getCCAvalue() {
return count;
}
in CC1000CsmaP.nc
In Octopus.nc I tried to use the interface by adding
interface CsmaControl;
at the top. So far it was possible to compile, but calling then the function
isn't possible and I can't compile it anymore.
OctopusC.nc:292: CsmaControl.getCCAvalue not connected
make: *** [exe0] Error 1
Any hint ??
Thanks a lot !
Nils
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help