05-07-2015
What options you use depends on what options you need.
What options you need depend on how the programmer talks.
In other words, what are you expecting? Does it send and receive lines of text like a modem, or does it send packets of unescaped binary data, or does it respond when you bit-bang control bits, or what?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We're running SCO Unix Openserver 5.05 and I'm having trouble with serial communication between the com2 serial port and a handheld device. Downloading data from Unix to the handheld works perfectly, but the other way around creates a major problem. I don't know whether it's a buffer overflow or... (1 Reply)
Discussion started by: Aretha
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am working on serial communication on Unix. Can anyone guide me through it. The steps required for RS 232 communication and can i do serial communication even if i dont have super user previledges.
Thankx,
Vicky (1 Reply)
Discussion started by: Vicky
1 Replies
3. UNIX for Dummies Questions & Answers
This isn't really a unix question, or even a programming question, but I hope you guys can help. I want to create a program to control the electricity on a model railway.
I have created the program to that it sends characters over the serial cable, but now I need to do the switch that will... (1 Reply)
Discussion started by: KrazyGuyPaul
1 Replies
4. IP Networking
I have serial modem connection between two computers. We have to login the remote computer through ip address. How can I get the ip address in this connection? (1 Reply)
Discussion started by: pcsaji
1 Replies
5. Programming
hello,
I am gettin problem while sending and recieving data through seial port...
when I am sending Data then the reciever end is not able to recieve that data .....
Reciever end is running in infinite loop just polling after some time to check that there is data on the port and then again... (9 Replies)
Discussion started by: arunchaudhary19
9 Replies
6. OS X (Apple)
Hi again,
I spoke with Keyspan and they assured me the USB to Serial device was working if I could use the Screen tool.
I asked why I was unable to redirect stdin/stdout to and from the /dev/tty. device and was told there was no reason I shouldn't be able to do so.
I have tried:
... (1 Reply)
Discussion started by: cpfogarty
1 Replies
7. Shell Programming and Scripting
Hi there
how can i get the result of a command to not give me its error. For example, on certain systems the 'zfs' command below is not available, but this is fine becaues I am testing against $? so i dont want to see the message " command not found" Ive tried outputting to /dev/null 2>&1 to no... (5 Replies)
Discussion started by: hcclnoodles
5 Replies
8. Ubuntu
Hello!
I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies
9. Programming
edit: never mind; mods please delete. I finally got so frustrated I figured it couldn't be the code and it must be the device on the other end. After pulling it out of its cradle, I realized it was a different model number than the one I was using before, and wasn't accepting my... (1 Reply)
Discussion started by: DreamWarrior
1 Replies
10. UNIX for Dummies Questions & Answers
Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway?
Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Discussion started by: killaram
6 Replies
LEARN ABOUT DEBIAN
net::cli::interact::transport::serial
Net::CLI::Interact::Transport::Serial(3pm) User Contributed Perl Documentation Net::CLI::Interact::Transport::Serial(3pm)
NAME
Net::CLI::Interact::Transport::Serial - Serial-line based CLI connection
VERSION
version 1.121640
DECRIPTION
This module provides a 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/ttyUSB0" or "COM5".
parity
You have a choice of "even", "odd" or "none" for the parity used in serial communication. The default is "none".
nostop
You can control whether to use "XON/XOFF" handling for the serial communication. 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.
reap
Only used on Unix platforms, this installs a signal handler which attempts to reap the "ssh" child process. Pass a true value to enable
this feature only if you notice zombie processes are being left behind after use.
COMPOSITION
See the following for further interface details:
o Net::CLI::Interact::Transport
AUTHOR
Oliver Gorwits <oliver@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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.
perl v5.14.2 2012-06-12 Net::CLI::Interact::Transport::Serial(3pm)