Name : perl-GPS-Garmin
| |
Version : 0.17
| Vendor : Mandriva
|
Release : 1mdv2010.1
| Date : 2010-11-01 02:25:35
|
Group : Communications
| Source RPM : perl-GPS-Garmin-0.17-1mdv2010.1.src.rpm
|
Size : 0.09 MB
| |
Packager : Thomas Spuhler < tspuhler_mandriva_org>
| |
Summary : GPS-Garmin - Perl interface to GPS equipment using the Garmin Protocol
|
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; }
|
RPM found in directory: /vol/rzm6/linux-mandriva/official/2010.1/i586/media/contrib/backports |