zigbee-steward
zigbee-steward copied to clipboard
Serial library's old version doesn't handle interrupted system calls
Problem
Get interrupted system call errors from ZNP ReadFrame() failing.
Serial library is at an old version:
https://github.com/dyrkin/zigbee-steward/blob/a1dc32edfb8560969ea4aedb6f85d05d8279cd7a/go.mod#L12
This old version seems to bypass Go's regular OS I/O interfaces (that would take EINTR into account), and doesn't take EINTR
into account at all.
Fix
Update to new version, it correctly retries on EINTR
.