serial port access and communication using c
-
dear Sir/madam, I am pretty much familiar about working with c. Recently, I am supposed to do a project on serial port communication between two PCs using RS232 protocol with c. I am unfamiliar with the keyword and syntax required to accompany this task..kindly help with a tutorial on it
-
dear Sir/madam, I am pretty much familiar about working with c. Recently, I am supposed to do a project on serial port communication between two PCs using RS232 protocol with c. I am unfamiliar with the keyword and syntax required to accompany this task..kindly help with a tutorial on it
-
dear Sir/madam, I am pretty much familiar about working with c. Recently, I am supposed to do a project on serial port communication between two PCs using RS232 protocol with c. I am unfamiliar with the keyword and syntax required to accompany this task..kindly help with a tutorial on it
The syntax and APIs available depends on your operating system - Windows, OSX, Linux, Net/FreeBSD, Solaris, embedded OSs etc. First, do a search for "Serial port API" and your operating system. As for how serial communications work, check Wikipedia[^], and pay attention to the hardware signalling and the fact that if you connect two computers, you need a "twisted" cable, and if you connect to a device, you need a "straight" one. Oh, and this question rightly belong in the "C/C++" discussion forum rather than "ATL/WTL/STL".
-
How do you know the poster is using Microsoft's tool or platform? Plenty of other compilers and platforms, and a C developer is more likely to be working on Unix variant or embedded system these days. I'd skip the "visual".
-
How do you know the poster is using Microsoft's tool or platform? Plenty of other compilers and platforms, and a C developer is more likely to be working on Unix variant or embedded system these days. I'd skip the "visual".
I guessed Visual C because this message board contains mostly windows development related posts. If OP needs another platform then modifying the search parameters isn't difficult. RS232 is a topic for which you can find very good tutorials on any platform very easily just by googling. I think OP was simply lazy to try that before posting here.
-
I guessed Visual C because this message board contains mostly windows development related posts. If OP needs another platform then modifying the search parameters isn't difficult. RS232 is a topic for which you can find very good tutorials on any platform very easily just by googling. I think OP was simply lazy to try that before posting here.
Fair enough. I think it's likely OP posted in the wrong group, as neither A, W, or S TL are C libraries.