[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Unrecognized request '?POLL'
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-users] Unrecognized request '?POLL' |
Date: |
Fri, 9 Mar 2012 02:23:44 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Andrew Perrin <address@hidden>:
> Good afternoon - returning to using gpsd after several months, and the perl
> script I had working before is no longer working. The script uses Net::GPSD3
> to poll the gpsd daemon, running under linux. However the script just hangs,
> and the logfile shows:
>
> gpsd: ERROR: ERROR response: {"class":"ERROR","message":"Unrecognized request
> '?POLL'"}\x0d\x0a
>
> The same thing happens using the poll example script from the perl Net::GPSD3
> package. However it works fine using the handler example script, and the test
> clients from gpsd work fine.
>
> My best guess is therefore that the poll() method is broken for some reason.
> Any help would be most appreciated.
>
> System is debian linux (testing), kernel 3.2.0, gpsd version 3.4-2.
>
> Thanks for your help.
>
You should make sure you're actually running with the right GPSD binary
rather than some stale version off in a corner. POLL is working here, I
just tested it - and that response looks like it's from an old version
of the daeon that lacks POLL support.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>