Digi Transport Serial Python Write Error

I have managed to implement the Python serial libraries on the Digi WR21 Transport for my application. It seems after running great for several days, sampling thousands of data points, I will eventually get an error when trying to write to the serial port. The only feedback I can get is Errno 0 and all I am doing is a simple

serial.write(data)

command.

I could potentially reboot the device in this condition to work around this, but I was curious if anyone had any other ideas…

Thanks

a colleague of mine had run into this before. His solution was to close/reopen the port.

1 Like