PointOneNav / polaris

Software for communicating with Point One Navigation's Polaris GNSS Corrections Service
MIT License
24 stars 12 forks source link

Corrected read timeout handling for TLS and handling of errors during authentication. #43

Closed adamshapiro0 closed 3 years ago

adamshapiro0 commented 3 years ago

Polaris_Work() now returns POLARIS_TIMED_OUT on a socket read timeout, and POLARIS_CONNECTION_CLOSED when the connection is terminated either remotely or via Polaris_Disconnect(). Previously, it returned 0 for both conditions. It should no longer return 0 under any circumstances.