/// <summary> /// Create an IDxxLA RFID reader /// </summary> /// <param name="device">Device to use</param> /// <param name="serialPortName">Port name to use</param> public IDxxLA(IIODevice device, SerialPortName serialPortName) : this(device.CreateSerialMessagePort( serialPortName, suffixDelimiter : new byte[] { EndToken }, preserveDelimiter : true, baudRate : BaudRate, dataBits : DataBits ) ) { }
public Mt3339(IIODevice device, SerialPortName serialPortName) : this(device.CreateSerialMessagePort( serialPortName, suffixDelimiter : Encoding.ASCII.GetBytes("\r\n"), preserveDelimiter : true, readBufferSize : 512)) { }