NAME
Net::CLI::Interact::Transport::Serial - Serial-line based CLI connection
VERSION
version 1.111150
DECRIPTION
This module provides an IPC::Run wrapped instance of a Serial-line client for use by Net::CLI::Interact.
INTERFACE
app
On Windows platforms you must download the plink.exe program, and pass its location to the library in this parameter. On other platforms, this defaults to cu, which again you must download and install.
runtime_options
Based on the connect_options hash provided to Net::CLI::Interact on construction, selects and formats parameters to provide to app on the command line. Supported attributes:
FIXME: on Windows platforms, only the device attribute is supported.
- device (required)
-
Name of the device providing access to the Serial-line (e.g.
/dev/ttyUSB0orCOM5. - parity
-
You have a choice of
even,oddornonefor the parity used in serial communication. The default isnone. - nostop
-
You can control whether to use
XON/XOFFhandling for the serial communcation. The default is to disable this, so to enable it pass any True value. - speed
-
You can set the speed (or baud rate) of the serial line by passing a value to this named parameter. The default is
9600.
COMPOSITION
See the following for further interface details:
AUTHOR
Oliver Gorwits <oliver@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Oliver Gorwits.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.