How to change the system baud rate for windows OS

Anonymous
2024-10-16T04:59:45.3233333+00:00

Hi,

I am using SerialPort class. There is a property name BaudRate. And I am setting the new value like (9600, 19200, 38400 etc).

SerialPort mySerialPort = new SerialPort("COM4");

mySerialPort.BaudRate = pBaudRate; //38400

If My old baudrate value is 19200 and I have set new baudrate with 38400. then GPS data is not coming on new baudrate. It still coming on old baudrate.

Also not getting there this value is setting.

Kindly help on this.

Thanks,

Arvind

Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.