gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] GPS on Qualcomm MSM7xxx and MSM6xxx devices


From: Eric S. Raymond
Subject: Re: [gpsd-users] GPS on Qualcomm MSM7xxx and MSM6xxx devices
Date: Wed, 1 Jul 2015 03:41:51 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

Stanislas Bertrand <address@hidden>:
> My questions regarding this development are the following :
> - Does GPSd have any kind of heart beat monitor ( informs that the GPS
> serial port has been quiet for too long, or the time since the last output
> from the GPS ) ?
> - Should this management be done in GPSd ?
> - Should it rather be done by an external daemon which will invoke scripts
> to control the GPS ?

There is something a bit like this in the code.  The middle layer of the daemon
has to notice when a device has not sent data in too long and should be dropped
put of the pool, lest a deads or disconnected GPS hold open a pool slot and
a file descriptor indefinitely.

I'm guessing that what you want is something like a JSON notification when
a device is dropped?
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]