[Tinyos-help] Problem with OscilloscopeRF - changing Photo to Temp

Carl Hanks carl at hanksfam.net
Sun Dec 3 07:49:15 PST 2006


A little bit of an update because I'm still messing with this.

 

I forgot to mention I'm using Micaz motes with MTS310 sensor boards.  If I
have the mote on without the sensorboard and then send the OscopeResetMsg
from the Oscope GUI something weird happens... If I plug the sensorboard in
with the mote still on, it suddenly processes the message.  

 

Do I have something defined wrong?  I'm trying to figure it out but can't
get anywhere..

 

My make file looks like this:

COMPONENT=Oscilloscope

SENSORBOARD=mts310

 

XBOWROOT=%T/../contrib/xbow/tos

 

PFLAGS = -I$(XBOWROOT)/interfaces -I$(XBOWROOT)/system
-I$(XBOWROOT)/platform/$(PLATFORM) -I$(XBOWROOT)/lib
-I$(XBOWROOT)/sensorboards/$(SENSORBOARD)

 

include ../MakeXbowlocal

include $(TOSROOT)/tools/make/Makerules

 

Not sure if I really need all of that. 

 

 

Again my original message was:

I'm using some code based on the OscilloscopeRF.  The application works fine
when I make it and install it to my motes.  However when I change:

 

components Main, OscilloscopeM

           , TimerC

           , LedsC

           , DemoSensorC as Sensor

           , GenericComm as Comm;

 

To

 

components Main, OscilloscopeM

           , TimerC

           , LedsC

           , Temp as Sensor

           , GenericComm as Comm;

 

My mote no longer receives the OscopeResetMsg.  I've installed another mote
with TOSBase and it blinks to show that the message is sent when I click the
Clear Dataset button in the Oscilloscope GUI.  

 

I've also tried using the Temp part of PhotoTemp... but I understand that
that's all that Temp is.  

 

I've also checked out this problem with the non-RF Oscilloscope application
and the problem doesn't exist there.

 

 

Thanks again for the help,

Carl Hanks

Tulane University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061203/96a5d3ad/attachment.html


More information about the Tinyos-help mailing list