summaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 768ac32..dc7832d 100644
--- a/include/device.h
+++ b/include/device.h
@@ -39,6 +39,11 @@ class Device {
*/
virtual CommError recv(void *packet);
+ int get_retry_count() { return m_retry_count; }
+ const;
+ std::chrono::milliseconds get_retry_timeout() { return m_retry_timeout; }
+ const;
+
protected:
uint16_t m_vid;
uint16_t m_pid;