Sponsored Content
Top Forums Programming Using non standard baudrate 28800 with rs232 Post 302106604 by palexo on Saturday 10th of February 2007 01:37:59 PM
Old 02-10-2007
No, it's not a modem. There is a card connected there which is commanding a robot by a wireless connection. I've tried all speeds defined in the termios.h, then I read somewhere in the documentation that the stupid robot is not receiving the command if the speed is other than 28800.
It is working perfectly under Windows. The porblem is that I have to make it also work under linux.
There should be a way to use the speed 28800.
 

10 More Discussions You Might Find Interesting

1. Programming

RS232 communication optimisation

Need help for RS232 communication with switches in order to optimise the data traffic. How to manipulate different flags in termios struct to do the same? (1 Reply)
Discussion started by: ManishSaxena
1 Replies

2. UNIX for Advanced & Expert Users

VNC via Rs232

Hi ! Is there somebody who is able to connect a VNC session via serial cable ? There is a hint on the VNC homepage that it is possible to configure that. But how? thanks joerg (2 Replies)
Discussion started by: joerg
2 Replies

3. Solaris

rs232 pci-card

hello mates, do you know a manufactor for rs232 serial pci cards for the sparc architecture? it seems that there is no original product from sun for that purpose. strange, isn't it? problem is that i have a V250 with only one db9 rs232 serial port, and i need it for a modem connection, but i also... (1 Reply)
Discussion started by: pressy
1 Replies

4. UNIX for Advanced & Expert Users

RS232 programming problem

Hi all I encountered a strange phenomenon when reading / writing to RS232 serial device (on my machine /dev/ttyS0) I have simple 2 processes: 1) process which WRITE characters from /dev/ttyS0 For example write the characters... (2 Replies)
Discussion started by: dudi.forum
2 Replies

5. AIX

Transferring files via RS232 cable

Current setup: Some old AIX standalone machine (F series) My WinXP laptop Null modem cable from laptop to AIX machine (console port). On Hypterminal on WinXP I can connect to the AIX machine (serial connection), but when I try to transfer file, it will just sit there. I'm guessing the... (3 Replies)
Discussion started by: apra143
3 Replies

6. Programming

How to read the CTS and DSR of RS232 in Unix using C language?

Hello to all Gurus out there, Could you show me a source code in Unix platform using C language. I want to read the status or voltage level of the DSR and CTS. Thanks a lot, Swing5 (2 Replies)
Discussion started by: Swing5
2 Replies

7. Shell Programming and Scripting

standard error to standard out question

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. UNIX for Dummies Questions & Answers

Can A File Be Copied to an RS232 Port on Unix?

We have a text/csv file (4mb) sitting on a Unix box. The PC belongs to a retail store and they're asking me to bring the file over to Windows so they can import the file. Can a file be copied to an rs232 port? If so how? The idea is that I'll hook up a null modem cable to the Unix com port,... (2 Replies)
Discussion started by: alivebyscience
2 Replies

9. UNIX for Dummies Questions & Answers

Redirect Standard output and standard error into spreadsheet

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

10. UNIX for Dummies Questions & Answers

Connecting PIC16F877A using Easypic5 via RS232 with Linux

I searched the forums for RS232 issues, but all of the results don't help me solving my problem, so I had to open new thread. This is the problem: I have PIC16F877A micro-controller and I'm programming it with Easypic5(the PIC programming device(board) from MikroElektronika) and I want to... (1 Reply)
Discussion started by: ivan_vasileski
1 Replies
SNOOPER(1)						    BSD General Commands Manual 						SNOOPER(1)

NAME
snooper -- a utility for capturing data flowing between serial devices SYNOPSIS
snooper [-h] snooper [-b baudrate] [-t] [-u] [-x] [-n] port0 port1 DESCRIPTION
snooper passes data transparently between two serial (RS232C) devices, capturing and logging the data and occasional comments you want to insert into the logs. It is useful for debugging or analyzing the communications protocol between two devices that would normally be connected directly to each other, e.g. a digital camera and a personal computer. By sitting in the middle (after you connect the two devices to serial ports on your Linux machine) snooper is able to capture data traveling in either direction while also passing it unmodified to the other device. It is also possible to operate with a single serial device, using your console and keyboard as the second device. OPTIONS
-b baudrate Specify baudrate to use. Default baudrate is 9600. -t Include current time (in microseconds) with each write to the textual log file. See L under KEYBOARD COMMANDS, below. -u Do not perform serial device locking. (This option is discouraged, and should never be necessary on a properly-configured Debian system.) -x Hex display only. (Even printable characters will be displayed in hex.) -n Do not forward traffic between the two ports; useful when you have a splitter cable. -h Help; presents a brief synopsis of the command line options. KEYBOARD COMMANDS
snooper has a set of commands that act similar to those of vi. Note that the characters transmitted into the serial ports will not be forwarded while snooper is in command parameter input mode. You should therefore set the log file and so forth while the serial line has no activity. L Switch textual log file. You'll be asked to answer the filename of the log file. B Switch binary log file. You'll asked to answer which device to log, and the log file name. Please note that the binary log will contain the input from the perspective of snooper. Therefore, if you would like to make a log of input of line 0 (thus the output from device connected to line 0), you shold specify line 0. You should use a file that is local, or on a virtual disk, so that no characters will be lost. m add a memo line to the text log file. The memo line will contain a timestamp and the text you provide. Q Quit. c Reset the counter. b Change the baudrate. C Make the console act as one of the serial lines. ESC Go back to command mode. ^V Quote the next char (so that you can send ESC, for example). ^X input a byte by its 2-character hexadecimal value (so that you can send any character you like). By tapping any other key, that character will be sent to the line. ^L Repaint the screen. An unrecognized command character will present a brief list of the valid command characters. EXAMPLE
snooper /dev/ttyS0 /dev/ttyS1 AUTHOR
Jun-ichiro Itoh <itojun@itojun.org> This man page was written by David Coe <davidc@debian.org> for the Debian project, and may be used by others under the terms of the GNU Gen- eral Purpose License, version 2 or later. Debian Januray 20, 2002 Debian
All times are GMT -4. The time now is 11:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy