[Tinyos-help] MTS420 GPS receiver
prajakta choudhari
prajaktachoudhari at gmail.com
Tue Jul 4 03:19:05 PDT 2006
Dear all:
i am building an application using mts420 gps receiver that keeps on
receiving gps packets till it gets a valid gps packet. As soon as the
valid packet is received, the application shud glow red light and stop
forever.
It seems that the gps does not work without a timer.
So i have used 2 timers. On the event of the first timer fired the gps
is powered .
On the event of the second timer fired the gps txrxswitch is enabled.
Then the application starts receiving gps packets. On receiving a
valid gps packet i have called
call GpsCmd.TxRxSwitch(0);
call GpsCmd.PowerSwitch(0);
to stop gps receiver.
But still after the receiving a valid gps packet it,doesn't stop. It
starts the ONE_SHOT timers again..and the cycle repeats.
I am attaching my code..
It would be really gr8 if somebody throws light on this issue.
Thank You.
Prajakta
--
-------------------------------------
-------------------------------------
Regards,
Prajakta Choudhari,
Project Engineer,
Networking and Internet Software Group,
CDAC,Pune
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestMTS400M.nc
Type: application/x-netcdf
Size: 9732 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060704/4483941e/TestMTS400M-0001.nc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestMTS400.nc
Type: application/x-netcdf
Size: 1099 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060704/4483941e/TestMTS400-0001.nc
More information about the Tinyos-help
mailing list