Are you using the GPS_NMEA_RECEIVER class? If so, you should not need to
handle the serial port and parsing the GPS class will handle that and return
a GPSData object. Let me know if you need more information on this.
Also, from version 1.8.6 and higher the GPS class has a Continuous option
that can be run to automatically handle the reads and continuous reading
thread. This is available for applications that require high accuracy of GPS
data.
Just FYI, there is an AvidUtil.waitHereMs() that allows sleeping values in
milliseconds rather than seconds.
Amber Ansari.
(972)401-3655 x613.
AVIDwireless.
Also, does the AvidDirector become non-responsive after each thread cleanup
or it works correctly but fails after 10-30 minutes of running? At this
point does your watchdog timer catch this scenario and restart the
AvidDirector? If the avidDirector is indeed freezing it could be running out
of resources if there are objects still being left open. I would expect to
see an OutOfMemoryError when you are about to start a new instance of an
object. How do you close the thread before you start another one? Do you
toggle the power to the radio board when the thread is started?
Amber Ansari.
(972)401-3655 x613.
AVIDwireless.
-----Original Message-----
From: aviddire...@googlegroups.com
[mailto:aviddire...@googlegroups.com]On Behalf Of Alan Shapiro
Sent: Wednesday, July 16, 2008 2:13 PM
To: AVIDdirector-M2M