Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending data through serial port using WINAPI
Message
From
11/09/2000 08:19:25
 
 
To
All
General information
Forum:
Visual C++
Category:
Coding, syntax & commands
Title:
Sending data through serial port using WINAPI
Miscellaneous
Thread ID:
00414815
Message ID:
00414815
Views:
55
Hi,
I found an sample code of sending data through serial port to devices using WinAPI sio_putch and so on functions. I would like to ask,

1. Is it possible to send a string to serial port instead of byte by byte?

2. What does this function do ? (checksum>>8)
sio_putch(Port, (CheckSum>>8) & 0x00ff );

3. Any ways to find out the details and constant for sending and receving data such as STX, ETX and so on?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Reply
Map
View

Click here to load this message in the networking platform