Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending data through serial port using WINAPI
Message
De
11/09/2000 08:19:25
 
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
Codage, syntaxe et commandes
Titre:
Sending data through serial port using WINAPI
Divers
Thread ID:
00414815
Message ID:
00414815
Vues:
54
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...
Répondre
Fil
Voir

Click here to load this message in the networking platform