1Net::CLI::Interact::TraUnsseprorCto:n:tSreirbiuatle(d3N)Peetr:l:CDLoIc:u:mIenntteartaicotn::Transport::Serial(3)
2
3
4

NAME

6       Net::CLI::Interact::Transport::Serial - Serial-line based CLI
7       connection
8

DESCRIPTION

10       This module provides a wrapped instance of a Serial-line client for use
11       by Net::CLI::Interact.
12

INTERFACE

14   app
15       On Windows platforms you must download the "plink.exe" program, and
16       pass its location to the library in this parameter. On other platforms,
17       this defaults to "cu", which again you must download and install.
18
19   runtime_options
20       Based on the "connect_options" hash provided to Net::CLI::Interact on
21       construction, selects and formats parameters to provide to "app" on the
22       command line. Supported attributes:
23
24       FIXME: on Windows platforms, only the device attribute is supported.
25
26       device (required)
27           Name of the device providing access to the Serial-line (e.g.
28           "/dev/ttyUSB0" or "COM5".
29
30       parity
31           You have a choice of "even", "odd" or "none" for the parity used in
32           serial communication. The default is "none".
33
34       nostop
35           You can control whether to use "XON/XOFF" handling for the serial
36           communication. The default is to disable this, so to enable it pass
37           any True value.
38
39       speed
40           You can set the speed (or baud rate) of the serial line by passing
41           a value to this named parameter. The default is 9600.
42
43       opts
44           If you want to pass any other options to the application, then use
45           this option, which should be an array reference. Each item in the
46           list will be passed to the application, separated by a single space
47           character.
48
49       reap
50           Only used on Unix platforms, this installs a signal handler which
51           attempts to reap the child process. Pass a true value to enable
52           this feature only if you notice zombie processes are being left
53           behind after use.
54

COMPOSITION

56       See the following for further interface details:
57
58       •   Net::CLI::Interact::Transport::Base
59
60
61
62perl v5.36.0                      2022-N0e7t-:2:2CLI::Interact::Transport::Serial(3)
Impressum