pravodev / uhf-rfid-reader-sdk

(Unofficial) UHF RFID Reader SDK
12 stars 4 forks source link

The parameter is incorrect. #3

Open ghost opened 1 year ago

ghost commented 1 year ago

When I am executing this code:

from rfid_reader import RFIDReader

reader = RFIDReader('serial', port='COM1', BAUDRATE=5600, parity='N',timeout=None,stopbits=1)

reader.connect()

output: serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'The parameter is incorrect.', None, 87)