I'm connecting a bluetooth SPP device to an ipaq. It runs at 115200 bps. I'm using a VB 2005 serialPort object. The device worked at 38400 bps. A terminal emulator communicates with the device at 115200 bps, but my program in VB reports an error:
"Unable to open Serial Port System.ArguementOutofRangeException: The maximum baud rate for the device is 65536. Parameter name: baudRate at System.IO.Ports.SerialStream...."
This error cannot be correct. The device works fine at that baud rate. The VB documentation states that the port is functional at 115200 bps. I find it curious that 65536 is the number for 2^16. The baud rate data type is integer, but it should be 32 bits.
My question: How do can VB 2005 in windows mobile 5 be set to run at 115200 bits per second?
The program is not set to dynamically change the baud rate. The baud rate property in VS for the serial port has 115200. I have a label text value that shows the current setting is 115200 when the form loads.
Any help would be appreciated.