go-serial
go-serial copied to clipboard
Added support for sending breaks
I added support for sending an arbitrary length break signal
Linux has a TCSBRKP ioctl which does it in a single ioctl but all the other unixes did not support it, so I used TIOCSBRK/TIOCCBRK instead
I've only tested it on Linux with a logic analyzer and its working fine. Windows support has not been added