- Name: perl-GPS-Garmin
- Version: 0.17
- Release: 1mdv2010.1
- Epoch:
- Group: Communications
- License: Artistic
- Url: http://www.cpan.org/authors/id/J/JO/JOAOP/
- Summary: GPS-Garmin - Perl interface to GPS equipment using the Garmin Protocol
- Architecture: i586
- Size: 94817
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Thomas Spuhler <tspuhler@mandriva.org>
Description:
use GPS::Garmin;
$gps = new GPS::Garmin( 'Port' => '/dev/ttyS0',
'Baud' => 9600,
);
To transfer current position, and direction symbols:
($latsign,$lat,$lonsign,$lon) = $gps->get_position;
To transfer current time:
($sec,$min,$hour,$mday,$mon,$year) = $gps->get_time;
To transfer trackpoints:
$gps->prepare_transfer("trk");
while($gps->records) {
($lat,$lon,$time) = $gps->grab;
}
To transfer Waypoints:
$gps->prepare_transfer("wpt");
while($gps->records) {
($title,$lat,$lon,$desc) = $gps->grab;
}
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: n2.mandriva.com 1288574712
- Buildhost: n2.mandriva.com