Serial communication

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hy there,
i have the problem concerning the serial communication. First i have to send
30 Bytes with 50Baud to a client. After that, the client returns me 3 Bytes
with 9600 Baud. The client does this reflection within 200ms after complete
receiving that 30 Bytes. So my problem is to switch my Baudrate from50 Baud
to 9600 Baud within those 200 ms (150ms to have security). I did not manage
this till now. Is that possible with Windows SDK?
 
=?Utf-8?B?Sm8=?= said:
Hy there,
i have the problem concerning the serial communication. First i have
to send 30 Bytes with 50Baud to a client. After that, the client
returns me 3 Bytes with 9600 Baud. The client does this reflection
within 200ms after complete receiving that 30 Bytes. So my problem is
to switch my Baudrate from50 Baud to 9600 Baud within those 200 ms
(150ms to have security). I did not manage this till now. Is that
possible with Windows SDK?

This was already discussed in microsoft.public.win32.programmer.kernel and
microsoft.public.vc.language

See: COM port baud rate change
http://groups.google.de/groups?th=edcba134bbe6fd3f
and
See: Checking UART Tx FIFO Status
http://groups.google.de/groups?th=37528d1ad05e4a6c


There is only one possible way to do this:
You have to use the "RTS_CONTROL_TOGGLE" feature...


Here is the post with the full example:
http://groups.google.de/groups?selm=Xns9200997AFD83BJochenKalmbachholzma%
40127.0.0.1
 
Back
Top