[Om2009] Strange GPS behaviour

David Fokkema dfokkema at ileos.nl
Thu Jun 18 16:24:12 CEST 2009

Just on the 'related' question:

On Thu, 2009-06-18 at 16:04 +0200, David Fokkema wrote:
> Related: how can I check if the GPS device is switched off (or on)? I
> need to request it using ousaged, but that will probably enable the GPS,
> right? When I stop and start my script, the fix is lost for a short
> time, so I think that after releasing, the GPS is switched off, but I
> have no way to check it, do I?

print usage.GetResourceState('GPS')

does the trick. It still happens that the solution presents itself a few
minutes _after_ you send that e-mail...


More information about the support mailing list