Quote:
Originally Posted by
arunchaudhary19
whats going wrong ....I am not getting data at the recievers End ....
When writing communications code, start with some known methods for testing.
Rather than tear your hair out do the following....
1. ensure machines are connected, with null modem if required
2. run terminal emulator on those serial ports at both ends
3. confirm terminal emulators exchange characters
4. replace the send end with your sending program and check that the sender does send.
5. stop that, and restart the terminal emulator
6. stop the terminal emulator at the receiving end, start your receiving program
7. confirm receiving program receives what ever is typed.