[Firebug-cvs] fireboard/beta/tos/sensorboards/mts400 GpsPacket.nc,1.4,1.5 IntersemaPressureM.nc,1.3,
Brought to you by:
doolin
From: Michael N. <mne...@us...> - 2005-08-18 20:10:24
|
Update of /cvsroot/firebug/fireboard/beta/tos/sensorboards/mts400 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3474 Modified Files: GpsPacket.nc IntersemaPressureM.nc UARTGpsPacket.nc Log Message: Control GPS to SIRF modes Index: GpsPacket.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/tos/sensorboards/mts400/GpsPacket.nc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GpsPacket.nc 30 Jul 2005 03:15:38 -0000 1.4 --- GpsPacket.nc 17 Aug 2005 22:48:55 -0000 1.5 *************** *** 21,68 **** * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." * ! */ ! /* tab:4 ! * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By ! * downloading, copying, installing or using the software you agree to ! * this license. If you do not agree to this license, do not download, ! * install, copy or use the software. ! * ! * Intel Open Source License [...997 lines suppressed...] ! signal GpsCmd.TxRxSet(gpsPowerStatus); ! } ! ! return SUCCESS; } ! event result_t SwitchI2W.setAllDone(bool local_result) { ! return SUCCESS; ! } ! event result_t Switch1.setAllDone(bool local_result) { ! return SUCCESS; ! } ! event result_t SwitchI2W.getDone(char value) { ! return SUCCESS; ! } Index: IntersemaPressureM.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/tos/sensorboards/mts400/IntersemaPressureM.nc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** IntersemaPressureM.nc 4 Jul 2005 02:55:43 -0000 1.3 --- IntersemaPressureM.nc 17 Aug 2005 22:48:55 -0000 1.4 *************** *** 126,129 **** --- 126,130 ---- if (l_state == BUSY) { atomic state = SWITCH_IO1; + SODbg(DBG_USR2, "Setting SCLK %s\n",(l_iostate) ? "ON" : "OFF"); call IOSwitch.set(MICAWB_PRESSURE_SCLK, l_iostate); } *************** *** 131,134 **** --- 132,136 ---- // SODbg(DBG_USR2, "IntesemaPressure.IoBus.SCLK switch set \n"); atomic state = SWITCH_IO2; + SODbg(DBG_USR2, "Setting DIN %s\n",(l_iostate) ? "ON" : "OFF"); call IOSwitch.set(MICAWB_PRESSURE_DIN, l_iostate); } *************** *** 136,139 **** --- 138,142 ---- // SODbg(DBG_USR2, "IntesemaPressure.IoBus.Din switch set \n"); atomic state = SWITCH_IO3; + SODbg(DBG_USR2, "Setting DOUT %s\n",(l_iostate) ? "ON" : "OFF"); call IOSwitch.set(MICAWB_PRESSURE_DOUT, l_iostate); } *************** *** 175,179 **** command result_t SplitControl.start() { ! // SODbg(DBG_USR2, "IntesemaPressure.start: turning on power \n"); atomic state = MAIN_SWITCH_ON; call SwitchControl.start(); --- 178,182 ---- command result_t SplitControl.start() { ! SODbg(DBG_USR2, "IntesemaPressure.start: turning on power \n"); atomic state = MAIN_SWITCH_ON; call SwitchControl.start(); Index: UARTGpsPacket.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/beta/tos/sensorboards/mts400/UARTGpsPacket.nc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** UARTGpsPacket.nc 19 May 2005 17:31:54 -0000 1.1 --- UARTGpsPacket.nc 17 Aug 2005 22:48:55 -0000 1.2 *************** *** 71,74 **** --- 71,75 ---- interface StdControl as Control; interface BareSendMsg as Send; + interface SendVarLenPacket as SendVar; interface ReceiveMsg as Receive; // interface I2CSwitchCmds as GpsCmd; *************** *** 79,91 **** implementation { ! components GpsPacket as Packet, UART1 as UART,MicaWbSwitch; GpsCmd = Packet.GpsCmd; Control = Packet.Control; ! Send = Packet.Send; ! Receive = Packet.Receive; ! Packet.ByteControl -> UART; ! Packet.ByteComm -> UART; Packet.SwitchControl -> MicaWbSwitch.StdControl; --- 80,94 ---- implementation { ! components GpsPacket as Packet, UART1, MicaWbSwitch; GpsCmd = Packet.GpsCmd; Control = Packet.Control; ! Send = Packet.BareSendMsg; ! SendVar = Packet.SendVarLenPacket; ! ! Receive = Packet.ReceiveMsg; ! Packet.ByteControl -> UART1; ! Packet.ByteComm -> UART1; Packet.SwitchControl -> MicaWbSwitch.StdControl; |