-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Description
I try to convert a windows SerialPort code to nanoframework,and i noticed nanoframework SerialPort class no not have BreakState,it is old but some protocols are still in use, for example DMX512
How to solve the problem
I searched in google have a solusion https://stackoverflow.com/questions/1279478/rs-232-break-signal
but it is using DllImport
Describe alternatives you've considered
No response
Aditional context
Open source third-party implementation of serial port
https://github.com/jcurl/RJCP.DLL.SerialPortStream/blob/21f60c99621f8d1a6d83a51a9ca2fde6cc22f65e/code/SerialPortStream.cs#L2241
https://github.com/jcurl/RJCP.DLL.SerialPortStream/blob/21f60c99621f8d1a6d83a51a9ca2fde6cc22f65e/dll/serialunix/libnserial/break.c#L27