BT368i - Perl interface to BT368i equipment that output data on a bluetooth serial port.
use BT368i;
# BT368i object my $bt368i = new BT368i( 'Port' => '/dev/ttyS0', 'Baud' => 115200 );
# gga object my $gga = new BT368i::NMEA::GP::GGA;
while (1) {
my $sentances = $bt368i->get_sentance(); foreach my $sentance (@sentances) { if ($sentance =~ /^\$GPGGA/) { $gga->parse($sentance); $gga->print(); } } }
BT368i allow the connection and use of of a GPS receiver in perl scripts. Currently only the NMEA is implemented.
This module currently works with all gps devies that output a serial stream of NMEA data
There is no port to Windows.
none known
Travis Kent Beste, travis@tencorners.com
Copyright 2010 Tencorners, LLC. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Travis Kent Beste's GPS www site http://www.travisbeste.com/software/gps
perl(1).
RingBuffer.pm.
Device::SerialPort.pm.
To install BT368i, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BT368i
CPAN shell
perl -MCPAN -e shell install BT368i
For more information on module installation, please visit the detailed CPAN module installation guide.