From ae106406a1b6d559b4f6282606931b527c9df995 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 4 Sep 2020 20:37:47 +0200 Subject: [PATCH] CWA settings --- platformio.ini | 2 +- src/paxcounter.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platformio.ini b/platformio.ini index 96c0a9ab..5a08fc61 100644 --- a/platformio.ini +++ b/platformio.ini @@ -49,7 +49,7 @@ description = Paxcounter is a device for metering passenger flows in realtime. I release_version = 2.0.1 ; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose -debug_level = 4 +debug_level = 3 extra_scripts = pre:build.py otakeyfile = ota.conf lorakeyfile = loraconf.h diff --git a/src/paxcounter.conf b/src/paxcounter.conf index 9f683134..9ced804c 100644 --- a/src/paxcounter.conf +++ b/src/paxcounter.conf @@ -15,9 +15,9 @@ #define COUNTERMODE 0 // 0=cyclic, 1=cumulative, 2=cyclic confirmed // Set this to include BLE counting and vendor filter functions, or to switch off WIFI counting -#define VENDORFILTER 1 // set to 0 if you want to count things, not people +#define VENDORFILTER 0 // set to 0 if you want to all devices, not filtering smartphone OUIs #define BLECOUNTER 1 // set it to 1 if you want to use BLE count, at expense of power & memory -#define WIFICOUNTER 1 // set it to 0 if you want to switch off WIFI count +#define WIFICOUNTER 0 // set it to 0 if you want to switch off WIFI count // BLE scan parameters #define BLESCANTIME 0 // [seconds] scan duration, 0 means infinite [default], see note below @@ -29,7 +29,7 @@ // set to 0 if you do not want to enable this function // for additional sensors (added by some user) -#define HAS_SENSOR_1 1 // set to 1 if you want to count CWAs +#define HAS_SENSOR_1 1 // set to 1 if you want to transmit CWA counter #define HAS_SENSOR_2 0 // not used #define HAS_SENSOR_3 0 // not used #define HAS_SENSORS (HAS_SENSOR_1 || HAS_SENSOR_2 || HAS_SENSOR_3) // to simplify things