From d2ee10f40a0afe78d1eecc410abdf068144cac11 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sun, 30 Jan 2022 15:29:52 +0100 Subject: [PATCH 1/2] update paxcounter_orig.conf --- src/paxcounter_orig.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/paxcounter_orig.conf b/src/paxcounter_orig.conf index ecd4f948..ee6584d2 100644 --- a/src/paxcounter_orig.conf +++ b/src/paxcounter_orig.conf @@ -18,6 +18,11 @@ #define PAYLOAD_ENCODER 2 // payload encoder: 1=Plain, 2=Packed, 3=Cayenne LPP dynamic, 4=Cayenne LPP packed #define COUNTERMODE 0 // 0=cyclic, 1=cumulative, 2=cyclic confirmed +// default settings for transmission of sensor data (first list = data on / second line = data off) +#define PAYLOADMASK \ + ((GPS_DATA | MEMS_DATA | COUNT_DATA | SENSOR1_DATA | SENSOR2_DATA | SENSOR3_DATA) \ + & (~BATT_DATA) & (~RESERVED_DATA)) + // MAC sniffing parameters #define BLECOUNTER 1 // set to 0 if you do not want to install the BLE sniffer #define WIFICOUNTER 1 // set to 0 if you do not want to install the WIFI sniffer From d4f5f4ea8219a934e5b286cf6dd6b51337455f5b Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sun, 30 Jan 2022 15:30:35 +0100 Subject: [PATCH 2/2] update platformio_orig.ini --- platformio_orig.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio_orig.ini b/platformio_orig.ini index 507058a6..c70bbd9e 100644 --- a/platformio_orig.ini +++ b/platformio_orig.ini @@ -16,10 +16,10 @@ ;halfile = ttgov1.h ;halfile = ttgov2.h ;halfile = ttgov21old.h -halfile = ttgov21new.h +;halfile = ttgov21new.h ;halfile = ttgofox.h ;halfile = ttgobeam.h -;halfile = ttgobeam10.h +halfile = ttgobeam10.h ;halfile = ttgotdisplay.h ;halfile = ttgotwristband.h ;halfile = fipy.h @@ -48,7 +48,7 @@ description = Paxcounter is a device for metering passenger flows in realtime. I [common] ; for release_version use max. 10 chars total, use any decimal format like "a.b.c" -release_version = 3.1.1 +release_version = 3.1.2 ; 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 = 3