AnyEvent-GPSD
view release on metacpan or search on metacpan
our $VERSION = '1.0';
=item $gps = new AnyEvent::GPSD [key => value...]
Creates a (virtual) connection to the GPSD. If the C<"hostname:port">
argument is missing then C<localhost:2947> will be used.
If the connection cannot be established, then it will retry every
second. Otherwise, the connection is put into watcher mode.
You can specify various configuration parameters, most of them callbacks:
=over 4
=item host => $hostname
The host to connect to, default is C<locahost>.
=item port => $port
The port to connect to, default is C<2947>.
METHODS
$gps = new AnyEvent::GPSD [key => value...]
Creates a (virtual) connection to the GPSD. If the "hostname:port"
argument is missing then "localhost:2947" will be used.
If the connection cannot be established, then it will retry every
second. Otherwise, the connection is put into watcher mode.
You can specify various configuration parameters, most of them
callbacks:
host => $hostname
The host to connect to, default is "locahost".
port => $port
The port to connect to, default is 2947.
min_speed => $speed_in_m_per_s
Sets the mininum speed (default: 0) that is considered real for
the purposes of replay compression or estimate. Speeds below
( run in 0.387 second using v1.01-cache-2.11-cpan-d6f9594c0a5 )