public MTRFXXAdapter(string portName) { device = SerialDevice.Create(portName, BaudRate.B9600); device.DataReceived += OnDataReceived; }