The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::GPSD::Server::Fake::Stationary - Provides a stationery feed for the GPSD Daemon.

SYNOPSIS

  use Net::GPSD::Server::Fake;
  use Net::GPSD::Server::Fake::Stationary;
  my $server=Net::GPSD::Server::Fake->new();
  my $stationary=Net::GPSD::Server::Fake::Stationary->new(lat=>38.865826,
                                                          lon=>-77.108574);
  $server->start($stationary);

DESCRIPTION

CONSTRUCTOR

new

Returns a new provider that can be passed to Net::GPSD::Server::Fake.

  my $stationary=Net::GPSD::Server::Fake::Stationary->new();

METHODS

get

Returns a Net::GPSD::Point object

  my $point=$obj->get;

getsatellitelist

Returns a list of Net::GPSD::Satellite objects

  my @list=$obj->getsatellitelist;

GETTING STARTED

KNOWN LIMITATIONS

BUGS

EXAMPLES

AUTHOR

Michael R. Davis, qw/gpsd michaelrdavis com/

LICENSE

Copyright (c) 2006 Michael R. Davis (mrdvt92)

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Net::GPSD