diff options
author | Sven Gothel <[email protected]> | 2020-05-02 03:29:09 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-05-02 03:29:09 +0200 |
commit | 99f9b498316c90c3fef95a6caadd880f03e22672 (patch) | |
tree | c7b6ea132392febd75bf43db212fce0c00e32869 /api/direct_bt/DBTManager.hpp | |
parent | ef962e04530ca0c98bbcff52359059d409dc9eff (diff) |
GATTHandler/DBTManager Timeout/Error: Use 3s timeout; GATTHandler/l2cap use timeoutMS field
Diffstat (limited to 'api/direct_bt/DBTManager.hpp')
-rw-r--r-- | api/direct_bt/DBTManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/direct_bt/DBTManager.hpp b/api/direct_bt/DBTManager.hpp index 3ff86ca3..dcca32ff 100644 --- a/api/direct_bt/DBTManager.hpp +++ b/api/direct_bt/DBTManager.hpp @@ -61,8 +61,8 @@ namespace direct_bt { /* BT Core Spec v5.2: Vol 3, Part F 3.2.8: Maximum length of an attribute value. */ ClientMaxMTU = 512, - /** 10s poll timeout for mgmt reader thread */ - MGMT_READER_THREAD_POLL_TIMEOUT = 10000, + /** 3s poll timeout for mgmt reader thread */ + MGMT_READER_THREAD_POLL_TIMEOUT = 3000, MGMTEVT_RING_CAPACITY = 256 }; |