diff options
author | Sven Gothel <[email protected]> | 2020-08-28 01:00:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-08-28 01:00:34 +0200 |
commit | 7d855e9503729bf1b433e4aa91a8ca869119653a (patch) | |
tree | 8be1f906ee4142616b26c0858d8491db67723aeb /api | |
parent | 3636cbfc3af956be02571529d286838bb0c5d7ce (diff) |
GATTHandler's GATTEnv fields can't be static (conversion error)
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/GATTHandler.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/api/direct_bt/GATTHandler.hpp b/api/direct_bt/GATTHandler.hpp index 57b65c8d..009d431b 100644 --- a/api/direct_bt/GATTHandler.hpp +++ b/api/direct_bt/GATTHandler.hpp @@ -65,16 +65,16 @@ namespace direct_bt { public: /** L2CAP poll timeout for reader thread, defaults to 10s. */ - static const int32_t L2CAP_READER_THREAD_POLL_TIMEOUT; + const int32_t L2CAP_READER_THREAD_POLL_TIMEOUT; /** Timeout for GATT read command replies, defaults to 500ms. */ - static const int32_t GATT_READ_COMMAND_REPLY_TIMEOUT; + const int32_t GATT_READ_COMMAND_REPLY_TIMEOUT; /** Timeout for GATT write command replies, defaults to 500ms. */ - static const int32_t GATT_WRITE_COMMAND_REPLY_TIMEOUT; + const int32_t GATT_WRITE_COMMAND_REPLY_TIMEOUT; /** Timeout for l2cap _initial_ command reply, defaults to 2500ms. */ - static const int32_t GATT_INITIAL_COMMAND_REPLY_TIMEOUT; + const int32_t GATT_INITIAL_COMMAND_REPLY_TIMEOUT; /** Medium ringbuffer capacity, defaults to 128 messages. */ - static const int32_t ATTPDU_RING_CAPACITY; + const int32_t ATTPDU_RING_CAPACITY; public: static GATTEnv& get() { |