Closed onionhammer closed 6 years ago
If setting 'RtsEnable' on nix, a bad file descriptor error occurs
var port = new SerialPortStream(portOptions.Path) { BaudRate = (int)portOptions.BaudRate, DataBits = portOptions.DataBits, Parity = ConvertParity(portOptions.Parity), StopBits = ConvertStopBits(portOptions.StopBits), /// RtsEnable = true/false, /// <--- Causes crash "bad file descriptor" ReadTimeout = portOptions.ReadTimeoutMs, WriteTimeout = portOptions.WriteTimeoutMs };
Edit2: updated description; RtsEnable = true/false just crashes on linux before port is Open()ed
Open()
Thanks for the report. Can you say what version of libnserial that you're using?
@jcurl I built it from source / master
Implemented in HEAD.
If setting 'RtsEnable' on nix, a bad file descriptor error occurs
Edit2: updated description; RtsEnable = true/false just crashes on linux before port is
Open()
ed