[Tinyos-devel] broken SensirionSht11C
Kevin Klues
klueska at gmail.com
Mon Nov 6 13:53:38 PST 2006
The problem is with wiring to Arbiter.Init. The arbiters no longer
expose the Init interface. They haven't for quite some time, (at
least 4 or 5 months). At one point I went through the tree and
removed all of these references, so I'm not sure how this crept in.
I'm removing it now.
Kevin
On 11/6/06, Razvan Musaloiu-E. <razvanm at cs.jhu.edu> wrote:
> Hi!
>
> The error looks like this:
>
> tinyos2auto at bluephase:~/local/src/tinyos-2.x/apps/MultihopOscilloscope$ make telosb
> mkdir -p build/telosb
> compiling MultihopOscilloscopeAppC to a telosb binary
> ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -I/home/tinyos2auto/local/src/tinyos-2.x/tos/lib/net/ -I/home/tinyos2auto/local/src/tinyos-2.x/tos/lib/net/ctp -I/home/tinyos2auto/local/src/tinyos-2.x/tos/lib/net/le -I. MultihopOscilloscopeAppC.nc -lm
> In component `HplSensirionSht11C':
> /home/tinyos2auto/local/src/tinyos-2.x/tos/platforms/telosa/chips/sht11/HplSensirionSht11C.nc:81: cannot find `Init'
> make: *** [exe0] Error 1
> tinyos2auto at bluephase:~/local/src/tinyos-2.x/apps/MultihopOscilloscope$
>
> The changes I made to the MultihopOscilloscope are:
>
> tinyos2auto at bluephase:~/local/src/tinyos-2.x/apps/MultihopOscilloscope$ cvs diff -u
> cvs diff: Diffing .
> Index: MultihopOscilloscopeAppC.nc
> ===================================================================
> RCS file: /cvsroot/tinyos/tinyos-2.x/apps/MultihopOscilloscope/MultihopOscilloscopeAppC.nc,v
> retrieving revision 1.1.2.5
> diff -u -r1.1.2.5 MultihopOscilloscopeAppC.nc
> --- MultihopOscilloscopeAppC.nc 2 Nov 2006 16:23:11 -0000 1.1.2.5
> +++ MultihopOscilloscopeAppC.nc 6 Nov 2006 21:42:18 -0000
> @@ -19,13 +19,14 @@
> configuration MultihopOscilloscopeAppC { }
> implementation {
> components MainC, MultihopOscilloscopeC, LedsC, new TimerMilliC(),
> - new DemoSensorC() as Sensor;
> + new SensirionSht11C() as Sensor;
> +// new DemoSensorC() as Sensor;
>
> //MainC.SoftwareInit -> Sensor;
>
> MultihopOscilloscopeC.Boot -> MainC;
> MultihopOscilloscopeC.Timer -> TimerMilliC;
> - MultihopOscilloscopeC.Read -> Sensor;
> + MultihopOscilloscopeC.Read -> Sensor.Temperature;
> MultihopOscilloscopeC.Leds -> LedsC;
>
> //
> cvs diff: Diffing java
> tinyos2auto at bluephase:~/local/src/tinyos-2.x/apps/MultihopOscilloscope$
>
> --
> Razvan ME
>
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>
--
~Kevin
More information about the Tinyos-devel
mailing list