serial
serial copied to clipboard
Use `PurgeComm` for flush
NOTE about FlushFileBuffers:
If hFile is a handle to a communications device, the function only flushes the transmit buffer.
Source: https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers