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.
Determining the maximum serial port speed
- Dreamland Fantasy
- Enthusiast

- Posts: 335
- Joined: Fri Jun 11, 2004 9:35 pm
- Location: Glasgow, UK
- Contact:
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

http://msdn.microsoft.com/library/defau ... config.asp
1. handle to com1 with createfile
2. run function - fill structure
3. read value from structure
["1:0>1"]
-
TerryHough
- Enthusiast

- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
You should find some useful info here
http://elfecc.no-ip.info/purebasic/#Info_SerialPorts
PB 3.94 code, but easily updated.[/url]
http://elfecc.no-ip.info/purebasic/#Info_SerialPorts
PB 3.94 code, but easily updated.[/url]
- Dreamland Fantasy
- Enthusiast

- Posts: 335
- Joined: Fri Jun 11, 2004 9:35 pm
- Location: Glasgow, UK
- Contact: