From: gehnen@uni-paderborn.de (Gerrit Gehnen) Subject: Linux and serial transmission Date: 18 May 1993 16:07:47 GMT
Hi folks!
We have a problem with linux and transmission of binary data over a serial
line. We want to connect a linux-PC to a robot, which uses a protocol
containing text and binary control codes for frame synchronisation
(ASCII #5, ASCII #16 etc.) How can we transmit these codes without
getting big troubles in linux? After a few characters we get just
-1 :-( We do a fopen("/dev/modem","r+b") and use fputc/fgetc to transmit
Characters.
Can anybody help?
Thanx a lot
Gerrit