Update of /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1823
Modified Files:
Makefile TestMTS400.nc TestMTS400M.nc appFeatures.h
Log Message:
Control GPS to SIRF modes
Index: TestMTS400M.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/TestMTS400M.nc,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** TestMTS400M.nc 17 Aug 2005 01:56:47 -0000 1.16
--- TestMTS400M.nc 17 Aug 2005 22:42:42 -0000 1.17
***************
*** 61,65 ****
/* History: created 1/25/2001
*
! * @author ..., Hu Siquan
*
* $Id$
--- 61,65 ----
/* History: created 1/25/2001
*
! * @author ..., Hu Siquan, Michael Newman
*
[...1651 lines suppressed...]
+ } else {
+ atomic {
+ WaitingForSend = FALSE; // both uart and radio sent, done for current msg
+ sending_packet = FALSE;
+ };
+ };
+ IsUART = !IsUART; // change to other type of send
+ return SUCCESS;
+ }
+
+ /****************************************************************************
+ * Uart msg rcvd.
+ * This app doesn't respond to any incoming uart msg
+ * Just return
+ ****************************************************************************/
+ event TOS_MsgPtr Receive.receive(TOS_MsgPtr data) {
+ return data;
+ }
+
+ }
Index: TestMTS400.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/TestMTS400.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** TestMTS400.nc 19 Jun 2005 19:09:27 -0000 1.5
--- TestMTS400.nc 17 Aug 2005 22:42:42 -0000 1.6
***************
*** 85,89 ****
NMEAC,
LedsC,
! DelugeC,
Accel,
TaosPhoto,
--- 85,89 ----
NMEAC,
LedsC,
! // DelugeC,
Accel,
TaosPhoto,
***************
*** 97,101 ****
Main.StdControl -> TestMTS400M;
Main.StdControl -> TimerC;
! Main.StdControl -> DelugeC;
XEE_PARAMS_WIRING()
--- 97,101 ----
Main.StdControl -> TestMTS400M;
Main.StdControl -> TimerC;
! // Main.StdControl -> DelugeC;
XEE_PARAMS_WIRING()
***************
*** 108,112 ****
#ifdef MTS420
TestMTS400M.GpsControl -> UARTGpsPacket;
! //TestMTS400M.GpsSend -> UARTGpsPacket;
TestMTS400M.GpsReceive -> UARTGpsPacket;
TestMTS400M.GpsCmd -> UARTGpsPacket.GpsCmd; //UARTGpsPacket.GpsCmd;
--- 108,112 ----
#ifdef MTS420
TestMTS400M.GpsControl -> UARTGpsPacket;
! TestMTS400M.GpsSend -> UARTGpsPacket.SendVar;
TestMTS400M.GpsReceive -> UARTGpsPacket;
TestMTS400M.GpsCmd -> UARTGpsPacket.GpsCmd; //UARTGpsPacket.GpsCmd;
Index: appFeatures.h
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/appFeatures.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** appFeatures.h 19 Jun 2005 19:09:27 -0000 1.5
--- appFeatures.h 17 Aug 2005 22:42:42 -0000 1.6
***************
*** 22,27 ****
#endif
- //#define FEATURE_GPS_ONLY 0
-
#ifndef FEATURE_GPS_ONLY
#define FEATURE_GPS_ONLY 0
--- 22,25 ----
Index: Makefile
===================================================================
RCS file: /cvsroot/firebug/fireboard/beta/apps/XSensorMTS400/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Makefile 19 Jun 2005 19:09:26 -0000 1.9
--- Makefile 17 Aug 2005 22:42:42 -0000 1.10
***************
*** 19,22 ****
--- 19,26 ----
PFLAGS += -I$(FIREBOARDROOT)/interfaces
+
+ # control debugging printfs 1 is on 0 is off
+ PFLAGS += -DSO_DEBUG=1
+ PFLAGS += -DFEATURE_GPS_ONLY=1
#include ../MakeXbowlocal
#include ${TOSROOT}/tools/make/Makerules
|