Serial communication
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.vc.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Jo (VIP)
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?
Reply to this message...
 
    
Jochen Kalmbach
=?Utf-8?B?Sm8=?= wrote:

[Original message clipped]

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

--
Greetings
Jochen
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com