Listen to a COM-port 
Author Message
 Listen to a COM-port

It is posible in some way to listen to what happens on a com-port?
I want to know which  AT commands my modem sends.

Jonas



Sun, 18 Jun 2000 03:00:00 GMT  
 Listen to a COM-port


Quote:
>It is posible in some way to listen to what happens on a com-port?
>I want to know which  AT commands my modem sends.

You'll have to listen on a second COM-port. Of course, you'll have to
connect the Rx-wire of COM1: to Rx-wire of COM2:
Assuming your modem is connected to COM1:, then write a small program
where you set the identical baudrate as used on COM1:, open COM2:, read
the input and print it on a form.

I oftently use a DOS shareware program which listens to *both*
directions, but therefore you'll need a second PC, of course. This leads
to another question: maybe somebody knows something similar under
Windows?
Maybe with some features like
- time stamping
- controlling the control signals too
- archiving and retrieval
- a kind of control language for protocol simulation
- ...

Or do I have to write my own?

best regards
Juergen
===

home: http://home.t-online.de/home/voskuhl



Wed, 21 Jun 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to listen to a COM port?

2. VB Port Listening ** Only listening not bound to a port

3. Com Port Listening

4. Com Port busy is service is listening

5. COM Ports - How do i listen for data?

6. Listen to port or port sniff...

7. Listening to com 1 or com 2, how?

8. Finding COM Ports - Mouse dies when VB talks to its COM Port

9. How can you Listen to port 80

10. Using Sockets/Ports to listen for POP3 traffic

11. TCPListener always listens on port 0?

12. How to make winsock control listen on an used port

 

 
Powered by phpBB® Forum Software