Important Update:
- DeviceCore: - Allow adjustable reply timeout with SetWaitForReply()
This commit is contained in:
@@ -145,6 +145,7 @@ protected:
|
||||
// Reply
|
||||
bool WaitingForReply; // Command sent, waiting for reply
|
||||
bool InvalidReply; // Invalid reply received
|
||||
long DefReplyTimeout; // Default Max waiting time for reply
|
||||
long ReplyTimeout; // Max waiting time for reply
|
||||
|
||||
// Retry
|
||||
@@ -306,7 +307,7 @@ protected:
|
||||
virtual bool DeviceOnline( TDevice * Device, bool Online );
|
||||
|
||||
// Handle Reply Timing
|
||||
virtual void SetWaitForReply();
|
||||
virtual void SetWaitForReply( int CustomTimeout = -1 );
|
||||
virtual void ValidReplyReceived();
|
||||
virtual bool CheckReplyTimeout();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user