Details
Description
Stack can not detect cable disconnect error after channel initialization is performed.
Steps to reproduce:
Scanner and Adapter under test are configured with automatic start of bus communication via database. Devices are connected directly via network cable and are in cyclic data exchange.
1. Perform channel init on the tested stack and wait for COM flag = 1.
2. Disconnect network cable from Adapter under test.
3. Check Adapter stack under test ulCommunicationError value in communication channel common status block immediately after network cable is disconnected.
Expected result:
ulCommunicationError = 0xC0000145 - "Cable disconnected" is reported by the stack under test
Actual result:
ulCommunicationError = 0 - no communication error is reported by the stack under test until connection timeout occurs