Problem when I try to transfer files through serial port - q

bridged with qdn.public.neutrino
Post Reply
Ricardo Peres

Problem when I try to transfer files through serial port - q

Post by Ricardo Peres » Thu Aug 21, 2003 2:27 pm

Hi everyone,

I am trying to configure my QNX Momentics V6.2.1 to send files through
serial port 1 (/dev/ser1) and receive the same file through the other serial
port (/dev/ser2).
I would like to use this procedure to test my hardware (mainly serial
ports)!
I have used a twisted cable with following pinout:

Port 1 -------------------- Port 2
2 ---------------------------------- 3
3 ---------------------------------- 2
5 ---------------------------------- 5

I have started two terminal (console) where I am running "qtalk" in both
side. When I type any character into the one console I see the character
shows into the other console and vice-versa.
But when I try to send files using "qcp" protocol I don´t get any success
and the qtalk stays "blocked"!

I am using the commands:
(At console 1 - directory /tmp/send)
stty -a -isflow -osflow -ihflow -ohflow < /dev/ser1
qtalk -b 9600,8,n,1 -m /dev/ser1
<< I used <ctrl+A> command "s" and type the name of my file to send! >>

(At console 2 - directory /tmp/receive)
stty -a -isflow -osflow -ihflow -ohflow < /dev/ser2
qtalk -b 9600,8,n,1 -m /dev/ser2
<< I used <ctrl+A> command "r" and type the name of my file to receive!
What have I been doing wrong to this procedure doesn´t work fine?
What can I do to solve this trouble?

Any help is welcome.
Sincerely,
Ricardo Peres
--
T-Systems do Brasil Ltda.
TMAN - Eng. de Automação Industrial
Al. Campinas, 1070 - 11º andar
01404-002 - São Paulo - SP - Brazil
Phone: (55) (11) 3886-8287 or 3886-8297
Fax: (55) (11) 3886-2824

Post Reply

Return to “qdn.public.neutrino”