Any standard way to separate between Neo and FreeRunner?

2008-07-12 Thread Audrius Meskauskas
GPS Sight currently has releases both for Neo1973 and for FreeRuner. 
Some parts of the code must behave differently for these two phones. For 
instance, on Neo gllin must be started and the NMEA pipe is in another 
place. While some abstract layer is likely to be created in the 
future, it would be good to have a standard way to identify in which 
phone the software is running.


Do we have something like that in a place like /etc ? If we do not, 
should we consider defining this rather than checking random places in 
the file system that may cause far more incompatibility problems?


P.S. GPS Sight bug that we mentioned in the previous message is now 
fixed. Thanks all contributors for input.


Audrius




Re: Any standard way to separate between Neo and FreeRunner?

2008-07-12 Thread Shawn Rutledge
On Sat, Jul 12, 2008 at 4:50 AM, Audrius Meskauskas [EMAIL PROTECTED] wrote:
 GPS Sight currently has releases both for Neo1973 and for FreeRuner. Some
 parts of the code must behave differently for these two phones. For
 instance, on Neo gllin must be started and the NMEA pipe is in another
 place. While some abstract layer is likely to be created in the future, it

Why don't you just use gpsd?  That's the abstraction layer for most gps apps.

On FSO they intend to switch to gypsy though, to get a dbus interface.