O
Ole
Hi,
I'm using the serial port on a Pocket PC (Mobile 2003 - CF 2.0) in my
application, but when i try to set the Baud rate like:
MyPort.BaudRate = 115200;
I get this exception:
{System.ArgumentOutOfRangeException: Argument must be between 0 and 65536.
Parameter name: baudRate
at System.IO.Ports.SerialStream.set_BaudRate()
at System.IO.Ports.SerialPort.set_BaudRate()
....}
But I know for sure that my device support a baud rate of 115200 (have used
it several times in other applications)
Any idea what could be wrong??
Your help is highly appreciated!
Thanks,
Ole
I'm using the serial port on a Pocket PC (Mobile 2003 - CF 2.0) in my
application, but when i try to set the Baud rate like:
MyPort.BaudRate = 115200;
I get this exception:
{System.ArgumentOutOfRangeException: Argument must be between 0 and 65536.
Parameter name: baudRate
at System.IO.Ports.SerialStream.set_BaudRate()
at System.IO.Ports.SerialPort.set_BaudRate()
....}
But I know for sure that my device support a baud rate of 115200 (have used
it several times in other applications)
Any idea what could be wrong??
Your help is highly appreciated!
Thanks,
Ole