I'd like to know if there is a way to get the Baud Rate
when it's connected on the RS232 port
BEFORE
you initialize the SerialPort
class and set it's values. Let me try to explain the reason for that...
Today, I'm working with two different RFID Reader
devices, each one works on a different BaudRate
, so if I set a wrong baudrate
when I create the SerialPort
class, it will read the card id all wrong, instead get the real card's id, it will get something like ????|W2???
.
Also, there's a possibilite that the device have a USB
port.
That's why I'd like to know the device's baud rate
before I instantiate the SerialPort
class.
9600
and the other works on19200
but I cant create an application where I'll have to change it's value according to the configuration of the user's device... You know ? But how could I do that ? As I know, I'll be able to test the data when aRFID Card
is read. Could you give me some ideia how to work around it ? Thanks ! – Coplanar