Has this library been tested under Windows? I have not been able to receive any serial data from returned ports using standard Racket functions like read-line and read-bytes. Same programs worked on Linux with no issues.
I noticed original libserialport has its own reading functions like sp_blocking_read, which this Racket library does not export.
SP_API enum sp_return sp_blocking_read(struct sp_port *port, void *buf, size_t count, unsigned int timeout_ms);
My next step to try is to wrap one of these functions and see if that works.
Has this library been tested under Windows? I have not been able to receive any serial data from returned ports using standard Racket functions like
read-lineandread-bytes. Same programs worked on Linux with no issues.I noticed original
libserialporthas its own reading functions likesp_blocking_read, which this Racket library does not export.SP_API enum sp_return sp_blocking_read(struct sp_port *port, void *buf, size_t count, unsigned int timeout_ms);My next step to try is to wrap one of these functions and see if that works.