Open JarrettR opened 1 month ago
As fast as the system goes.
I haven't specifically tested this on other archs or OSs, but it does seem to be a 64-bit Windows issue.
This issue is that this line returns a ERROR_FILE_NOT_FOUND.
ERROR_FILE_NOT_FOUND
As per this solution, I've hardcoded my particular COM port with that sequence of escape chars. Here's my replacement line:
hSerial = CreateFile("\\\\.\\COM25", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL );
I have not exhaustively tested this, and I have not properly integrated it into the existing codebase, so obviously I haven't submitted a PR. But now the answer is out there.
As fast as the system goes.
I haven't specifically tested this on other archs or OSs, but it does seem to be a 64-bit Windows issue.
This issue is that this line returns a
ERROR_FILE_NOT_FOUND
.As per this solution, I've hardcoded my particular COM port with that sequence of escape chars. Here's my replacement line:
I have not exhaustively tested this, and I have not properly integrated it into the existing codebase, so obviously I haven't submitted a PR. But now the answer is out there.