Determining the maximum serial port speed

Windows specific forum
User avatar
Dreamland Fantasy
Enthusiast
Enthusiast
Posts: 335
Joined: Fri Jun 11, 2004 9:35 pm
Location: Glasgow, UK
Contact:

Determining the maximum serial port speed

Post 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.
User avatar
bingo
Enthusiast
Enthusiast
Posts: 210
Joined: Fri Apr 02, 2004 12:21 pm
Location: germany/thueringen
Contact:

Post 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)
["1:0>1"]
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Post 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]
User avatar
Dreamland Fantasy
Enthusiast
Enthusiast
Posts: 335
Joined: Fri Jun 11, 2004 9:35 pm
Location: Glasgow, UK
Contact:

Post by Dreamland Fantasy »

@bingo & TerryHough

Thanks! :D

Kind regards,

Francis.
Post Reply