diff --git a/src/paxcounter.conf b/src/paxcounter.conf index 953f4204..5165cf1f 100644 --- a/src/paxcounter.conf +++ b/src/paxcounter.conf @@ -11,8 +11,7 @@ // Payload send cycle and encoding #define SEND_SECS 30 // payload send cycle [seconds/2] -> 60 sec. -#define PAYLOAD_ENCODER 2 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed -#define SENSORBUFFER 20 // size of user sensor data buffer in bytes [default=20] +#define PAYLOAD_ENCODER 3 // payload encoder: 1=Plain, 2=Packed, 3=CayenneLPP dynamic, 4=CayenneLPP packed // Set this to include BLE counting and vendor filter functions #define VENDORFILTER 1 // comment out if you want to count things, not people diff --git a/src/sensor.cpp b/src/sensor.cpp index 2c338850..53432bbc 100644 --- a/src/sensor.cpp +++ b/src/sensor.cpp @@ -4,11 +4,12 @@ // Local logging tag static const char TAG[] = "main"; +#define SENSORBUFFER 10 // max. size of user sensor data buffer in bytes [default=20] + void sensor_init(void) { // this function is called dureing device startup // put your sensor initialization routines here - } uint8_t sensor_mask(uint8_t sensor_no) {