CWA settings

This commit is contained in:
Klaus K Wilting 2020-09-04 20:37:47 +02:00
parent 0f6e08e7e1
commit ae106406a1
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ description = Paxcounter is a device for metering passenger flows in realtime. I
release_version = 2.0.1 release_version = 2.0.1
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; 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 ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
debug_level = 4 debug_level = 3
extra_scripts = pre:build.py extra_scripts = pre:build.py
otakeyfile = ota.conf otakeyfile = ota.conf
lorakeyfile = loraconf.h lorakeyfile = loraconf.h

View File

@ -15,9 +15,9 @@
#define COUNTERMODE 0 // 0=cyclic, 1=cumulative, 2=cyclic confirmed #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 // 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 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 // BLE scan parameters
#define BLESCANTIME 0 // [seconds] scan duration, 0 means infinite [default], see note below #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 // set to 0 if you do not want to enable this function
// for additional sensors (added by some user) // 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_2 0 // not used
#define HAS_SENSOR_3 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 #define HAS_SENSORS (HAS_SENSOR_1 || HAS_SENSOR_2 || HAS_SENSOR_3) // to simplify things