Page 1 of 1

Determining the maximum serial port speed

Posted: Wed Aug 30, 2006 4:47 pm
by Dreamland Fantasy
Hi there,

Is there any way to determine what the maximum baud rate a particular serial port is set to (e.g. COM1: being set to 115.2 kbits/sec)?

Kind regards,

Francis.

Posted: Wed Aug 30, 2006 7:03 pm
by bingo
http://msdn.microsoft.com/library/defau ... mstate.asp

http://msdn.microsoft.com/library/defau ... config.asp

1. handle to com1 with createfile
2. run function - fill structure
3. read value from structure

8)

Posted: Wed Aug 30, 2006 9:22 pm
by TerryHough
You should find some useful info here
http://elfecc.no-ip.info/purebasic/#Info_SerialPorts

PB 3.94 code, but easily updated.[/url]

Posted: Thu Aug 31, 2006 12:25 pm
by Dreamland Fantasy
@bingo & TerryHough

Thanks! :D

Kind regards,

Francis.