Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to enable / disable echo mode in windows serial programming for RS232 using C++?
Can somebody help me out?
Posted
Updated 29-May-11 20:21pm
v2
Comments
saurabh gigras 2-Jun-11 5:55am    
Any other solution....??

1 solution

There is nothing like enable/disable echo mode on a serial port.
You have to have a program that has opened the serial port and when data is received the program sent it back.

If it is for testing to check if the serial port works, you can buy a serial loop back adapter that you plug in to the serial port.
 
Share this answer
 
Comments
saurabh gigras 30-May-11 23:56pm    
But in Linux you would find ECHO options with clflag to enable/disable the echo mode. whats the alternate for it in windows
Kim Togo 31-May-11 3:18am    
I do not think it is possible in Windows. The SetCommState function does not mention ECHO mode.
http://msdn.microsoft.com/en-us/library/aa363436(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/aa363214(v=vs.85).aspx

http://www.robbayer.com/files/serial-win.pdf

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900