|
-
September 11th, 2002, 03:57 PM
#1
Using RS-232 Standard
i want to implement a communication b/w two pc's via null modem using serial ports. I really dont know how to do this. Help in terms of assembly code is also acceptable.Plz help me !
-
September 11th, 2002, 04:30 PM
#2
i have learned abt the rs-232 pin structure and thier working too , the problem is the communication with the hardware and the flow control ( hardware method preferred ) .. looking forward for ur help
-
September 12th, 2002, 11:46 AM
#3
If your systems are using Windows, then a good description can be found by searching MSDN Help for the following article:
"Serial Communications in Win32"
It is from 1995, but discusses all sorts of RS-232 communications issues, and provides a sample VC++ project.
-
September 12th, 2002, 01:46 PM
#4
You didn't mention what OS/compiler you are using. Comms on Unix/DOS/Windows/QNX/VxWorks/RMX is very different.
Succinct is verbose for terse
-
September 13th, 2002, 05:31 PM
#5
yes ,its Windows 98 using simple c/c++ compiler like Borlandc
Thanks for ur replies,
omerash,.
-
September 14th, 2002, 02:05 AM
#6
Even if it is Borland C, Serial Communications in Win32 still applies. The alternative is to do it in the old DOS way using the old BIOS calls but they may not be available from your compiler.
With flow control, all you need to do is set it up and the hardware will take care of the rest for you.
Succinct is verbose for terse
-
September 16th, 2002, 05:19 PM
#7
i have gone through that Article, even im not having any idea of WIn32 programming but all the stuff is windows based programming , i wanna know communication thats dos based. The command line argument will tell which terminal's programme is going to be Server...
omerash..
-
September 16th, 2002, 06:28 PM
#8
Which version of Borland C do you have? Is it Turbo C (TC) or Borland C++ builder (BCB)? Serial comms in BCB is the same as microsoft. See Serial Communications with Borland C++ Builder. Almost everything in there is mentioned in the Microsoft article. This is console based. Not quite the same as 16-bit DOS but it will work on 32-bit DOS. It includes windows.h for the prototypes but it is a console based program. It fools a lot of people: a windows header appearing in a console based program.
TC, on the other hand, is something else. You can get some examples in Programmer's Heaven.
Last edited by cup; September 16th, 2002 at 06:31 PM.
Succinct is verbose for terse
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|