aboutsummaryrefslogtreecommitdiffstats
path: root/examples/dbt_scanner10.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-09-29 09:23:59 +0200
committerSven Gothel <[email protected]>2021-09-29 09:23:59 +0200
commitaf742f4d0808b2d0525305b36c2dbe56fd886012 (patch)
treeb9345a0b76295b7cfd0ea072e78b6e89610b9a31 /examples/dbt_scanner10.cpp
parent3104630eb3a37c44decb719789a7b66fd49a30eb (diff)
Examples C++: Extract constants
Diffstat (limited to 'examples/dbt_scanner10.cpp')
-rw-r--r--examples/dbt_scanner10.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbt_scanner10.cpp b/examples/dbt_scanner10.cpp
index 857263df..ab00e23e 100644
--- a/examples/dbt_scanner10.cpp
+++ b/examples/dbt_scanner10.cpp
@@ -46,6 +46,8 @@ extern "C" {
#include <unistd.h>
}
+#include "dbt_constants.hpp"
+
using namespace direct_bt;
using namespace jau;
@@ -106,8 +108,6 @@ using namespace jau;
* ~~~
*/
-const static std::string KEY_PATH = "keys";
-
static uint64_t timestamp_t0;
static EUI48 useAdapter = EUI48::ALL_DEVICE;