From 459f4c1b29216e634ece296b21033a83f30ddfc5 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Sun, 5 Aug 2018 19:39:28 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 92375698..5025c31d 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Paxcounter generates identifiers for sniffed MAC adresses and collects them temp # Payload format -You can select different payload formats in [paxcounter.conf](src/paxcounter.conf#L40): +You can select different payload formats in [paxcounter.conf](src/paxcounter.conf#L12): - ***Plain*** uses big endian format and generates json fields, e.g. useful for TTN console From 5413347e35a92d0e06003f833c8925a617779bc4 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 5 Aug 2018 23:07:13 +0200 Subject: [PATCH 2/4] src\hal\ebox.h edit --- src/hal/ebox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hal/ebox.h b/src/hal/ebox.h index ff622bea..5d42df3a 100644 --- a/src/hal/ebox.h +++ b/src/hal/ebox.h @@ -6,6 +6,7 @@ #define HAS_LED GPIO_NUM_23 // blue LED on board #define HAS_BUTTON GPIO_NUM_0 // button "PROG" on board +#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature // re-define pin definitions of pins_arduino.h #define PIN_SPI_SS GPIO_NUM_18 // ESP32 GPIO18 (Pin18) -- SX1276 NSS (Pin19) SPI Chip Select Input From cd63d4164b01ef5782f4b88c44e7f0f2b31e2214 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Mon, 6 Aug 2018 08:19:19 +0200 Subject: [PATCH 3/4] rcommand.h edited --- src/rcommand.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rcommand.h b/src/rcommand.h index c6d9bdbd..6afb905f 100644 --- a/src/rcommand.h +++ b/src/rcommand.h @@ -15,6 +15,5 @@ typedef struct { } cmd_t; void rcommand(uint8_t cmd[], uint8_t cmdlength); -void switch_lora(uint8_t sf, uint8_t tx); #endif \ No newline at end of file From 482066eac9efd543fa6716556b22cde54c6d17f5 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Mon, 6 Aug 2018 08:22:04 +0200 Subject: [PATCH 4/4] cleanups main.cpp --- src/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index dd826c2e..4f41ee09 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -109,8 +109,6 @@ void setup() { // initialize send queues for transmit channels #ifdef HAS_LORA - //--> LoraSendQueue = xQueueCreate(SEND_QUEUE_SIZE, sizeof(struct SendBuffer - //*)); LoraSendQueue = xQueueCreate(SEND_QUEUE_SIZE, sizeof(MessageBuffer_t)); if (LoraSendQueue == 0) { ESP_LOGE(TAG, "Could not create LORA send queue. Aborting."); @@ -120,8 +118,6 @@ void setup() { SEND_QUEUE_SIZE * PAYLOAD_BUFFER_SIZE); #endif #ifdef HAS_SPI - //--> SPISendQueue = xQueueCreate(SEND_QUEUE_SIZE, sizeof(struct SendBuffer - //*)); SPISendQueue = xQueueCreate(SEND_QUEUE_SIZE, sizeof(MessageBuffer_t)); if (SPISendQueue == 0) { ESP_LOGE(TAG, "Could not create SPI send queue. Aborting.");