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

Device::Hypnocube::Serial - Talk to a hypnocube over a serial link

VERSION

version 1.9.1

SYNOPSIS

my $conn = Device::Hypnocube::Serial->new( serial => '/dev/ttyS1');

DESCRIPTION

Used internally by Device::Hypnocube
taken from L<GPS::Serial> and repurposed, any errors are likely mine

Copyright (c) 1999-2000 Joao Pedro Goncalves <joaop@sl.pt>. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

NAME

Device::Hypnocube::Serial

AUTHOR

Joao Pedro B Goncalves, joaop@sl.pt (L<GPS::Serial>)
kevin mulholland, moodfarm@cpan.org (Device::HypnoCube::Serial)

VERSIONS

v0.1  31/12/2010, initial work to change from L<GPS::Serial>

SEE ALSO

GPS::Serial

Peter Bennett's GPS www and ftp directory:

L<ftp://sundae.triumf.ca/pub/peter/index.html>
L<http://vancouver-webpages.com/peter/idx_garmin.html>

Functions and Methods

BEGIN

initialise the object

new

instance the object

connect

connect to the device, general interface

serialport_connect

connect to the device using either Win32::SerialPort or Device::SerialPort

unix_connect

connect to the device using unix methods

stty_connect

connect using a tty

read

read a number of bytes from the port

write

write to the device

serial

get info about the connection

verbose

show verbose reporting

AUTHOR

Kevin Mulholland <moodfarm@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Kevin Mulholland.

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