Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max. baud rate available ? #15

Open
eddylai opened this issue Sep 3, 2019 · 0 comments
Open

max. baud rate available ? #15

eddylai opened this issue Sep 3, 2019 · 0 comments

Comments

@eddylai
Copy link

eddylai commented Sep 3, 2019

Is there any MAX. baud rate speed limitation?
I can set the baudrate to 921600 then connect correctly, (Ubuntu 16.04 Mono)
but once I set the baudrate to 1843200 or 2000000 got connect() errors like:

System.IO.IOException: Inappropriate ioctl for device
at SerialPortLib2.Port.SerialPortStream.ThrowIOException () [0x00013] in <76c0701fbbf54b82a7cf07603294b4f7>:0 System.IO.IOException: Inappropriate ioctl for device
at SerialPortLib2.Port.SerialPortStream.ThrowIOException () [0x00013] in <76c0701fbbf54b82a7cf07603294b4f7>:0
at SerialPortLib2.Port.SerialPortStream..ctor (System.String portName, System.Int32 baudRate, System.Int32 dataBits, SerialPortLib2.Port.Parity parity, SerialPortLib2.Port.StopBits stopBits, System.Boolean dtrEnable, System.Boolean rtsEnable, SerialPortLib2.Port.Handshake handshake, System.Int32 readTimeout, System.Int32 writeTimeout, System.Int32 readBufferSize, System.Int32 writeBufferSize, System.Boolean IsAVirtualPort) [0x00041] in <76c0701fbbf54b82a7cf07603294b4f7>:0
at (wrapper remoting-invoke-with-check) SerialPortLib2.Port.SerialPortStream..ctor(string,int,int,SerialPortLib2.Port.Parity,SerialPortLib2.Port.StopBits,bool,bool,SerialPortLib2.Port.Handshake,int,int,int,int,bool)
at SerialPortLib2.Port.SerialPort.Open () [0x00074] in <76c0701fbbf54b82a7cf07603294b4f7>:0
at (wrapper remoting-invoke-with-check) SerialPortLib2.Port.SerialPort.Open()
at SerialPortLib2.SerialPortInput.Open () [0x0010c] in <76c0701fbbf54b82a7cf07603294b4f7>:0
at SerialPortLib2.Port.SerialPortStream..ctor (System.String portName, System.Int32 baudRate, System.Int32 dataBits, SerialPortLib2.Port.Parity parity, SerialPortLib2.Port.StopBits stopBits, System.Boolean dtrEnable, System.Boolean rtsEnable, SerialPortLib2.Port.Handshake handshake, System.Int32 readTimeout, System.Int32 writeTimeout, System.Int32 readBufferSize, System.Int32 writeBufferSize, System.Boolean IsAVirtualPort) [0x00041] in <76c0701fbbf54b82a7cf07603294b4f7>:0
at (wrapper remoting-invoke-with-check) SerialPortLib2.Port.SerialPortStream..ctor(string,int,int,SerialPortLib2.Port.Parity,SerialPortLib2.Port.StopBits,bool,bool,SerialPortLib2.Port.Handshake,int,int,int,int,bool)
at SerialPortLib2.Port.SerialPort.Open () [0x00074] in <76c0701fbbf54b82a7cf07603294b4f7>:0
at (wrapper remoting-invoke-with-check) SerialPortLib2.Port.SerialPort.Open()
at SerialPortLib2.SerialPortInput.Open () [0x0010c] in <76c0701fbbf54b82a7cf07603294b4f7>:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant