roy-harmon / UniversaLIS

UniversaLIS is a laboratory information system (LIS) for ASTM/CLSI-compliant clinical laboratory analyzers using serial and TCP connections.
MIT License
38 stars 12 forks source link

Unhandled contention state in bidirectional mode #1

Closed roy-harmon closed 3 years ago

roy-harmon commented 3 years ago

Bidirectional mode may cause the application to stop responding when both the LIS and the analyzer attempt to send an ENQ at the same time. This results in a state of contention that needs to be safely handled according to the ASTM E1381/CLSI LIS1-A standard. Implementing this feature in compliance with these standards will likely require significant code refactoring to allow for the various phases defined for LIS communications.