cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.73k stars 405 forks source link

PAX counter drops to 0 after a short while #714

Closed HouzuoGuo closed 3 years ago

HouzuoGuo commented 3 years ago

Good day!

According to my observations made on this TTGO T-Beam v0.7, the PAX counter (WiFi + BLE combined) always drops to 0 after the microcontroller has been running for couple of minutes (in some cases hours).

image

Points of interest:

Here are the latest log entries, earlier entries were lost from vscode console:

Logs

06:32:37.445 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:32:37.848 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:32:43.714 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:32:43.715 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:32:43.715 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:32:43.715 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:32:43.715 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:32:43.715 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:32:43.729 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:32:43.729 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:33:13.715 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:33:13.716 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:33:13.716 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:33:13.716 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:33:13.716 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:33:13.716 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:33:13.764 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:33:13.764 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:33:13.764 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:33:13.764 > [I][senddata.cpp:117] sendData(): Counter cleared
06:33:13.764 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:33:13.764 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:33:15.961 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:33:17.279 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:33:18.280 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:33:18.522 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:33:18.531 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:33:43.715 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:33:43.716 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:33:43.716 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:33:43.716 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:33:43.716 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:33:43.716 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:33:43.743 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:33:43.743 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:33:48.926 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:33:50.247 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:33:51.247 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:33:51.489 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:33:51.615 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:34:13.716 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:34:13.717 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:34:13.717 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:34:13.717 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:34:13.717 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:34:13.717 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:34:13.750 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:34:13.750 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:34:13.750 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:34:13.750 > [I][senddata.cpp:117] sendData(): Counter cleared
06:34:13.750 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:34:21.893 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:34:23.294 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:34:24.294 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:34:24.536 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:34:24.870 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:34:43.716 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:34:43.717 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:34:43.717 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:34:43.717 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:34:43.717 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:34:43.717 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:34:43.731 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:34:43.731 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:35:03.053 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:35:04.373 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:35:05.373 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:35:05.616 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:35:06.285 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:35:13.716 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:35:13.717 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:35:13.717 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:35:13.717 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:35:13.717 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:35:13.717 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:35:13.747 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:35:13.747 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:35:13.747 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:35:13.747 > [I][senddata.cpp:117] sendData(): Counter cleared
06:35:13.747 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:35:36.020 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:35:37.421 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:35:38.421 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:35:38.663 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:35:39.287 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:35:43.716 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:35:43.718 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:35:43.718 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:35:43.718 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:35:43.718 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:35:43.718 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:35:43.732 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:35:43.732 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:36:13.717 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:36:13.718 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:36:13.718 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:36:13.718 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:36:13.718 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:36:13.718 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:36:13.752 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:36:13.752 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:36:13.752 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:36:13.752 > [I][senddata.cpp:117] sendData(): Counter cleared
06:36:13.752 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:36:13.752 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:36:17.179 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:36:18.499 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:36:19.499 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:36:19.741 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:36:19.962 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:36:43.718 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:36:43.718 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:36:43.718 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:36:43.718 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:36:43.718 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:36:43.718 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:36:43.732 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:36:43.732 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:36:50.144 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:36:51.462 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:36:52.463 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:36:52.704 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:36:53.020 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:37:13.718 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:37:13.719 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:37:13.719 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:37:13.719 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:37:13.719 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:37:13.719 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:37:13.748 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:37:13.748 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:37:13.748 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:37:13.748 > [I][senddata.cpp:117] sendData(): Counter cleared
06:37:13.748 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:37:23.110 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:37:24.511 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:37:25.511 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:37:25.754 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:37:25.862 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:37:43.718 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:37:43.719 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:37:43.719 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:37:43.719 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:37:43.719 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:37:43.719 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:37:43.733 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:37:43.733 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:38:04.271 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:38:05.591 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:38:06.591 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:38:06.833 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:38:07.258 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:38:13.718 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:38:13.719 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:38:13.719 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:38:13.719 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:38:13.719 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:38:13.719 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:38:13.749 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:38:13.749 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:38:13.749 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:38:13.749 > [I][senddata.cpp:117] sendData(): Counter cleared
06:38:13.749 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:38:37.237 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:38:38.639 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:38:39.638 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:38:39.883 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:38:40.452 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:38:43.719 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:38:43.719 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:38:43.719 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:38:43.719 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:38:43.719 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:38:43.719 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:38:43.734 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:38:43.734 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:39:13.719 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:39:13.720 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:39:13.720 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:39:13.720 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:39:13.720 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:39:13.720 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:39:13.755 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:39:13.755 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:39:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:39:13.755 > [I][senddata.cpp:117] sendData(): Counter cleared
06:39:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:39:13.755 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:39:18.396 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:39:19.715 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:39:20.715 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:39:20.958 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:39:21.346 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:39:43.720 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:39:43.721 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:39:43.721 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:39:43.721 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:39:43.721 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:39:43.721 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:39:43.735 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:39:43.735 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:39:51.362 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:39:52.682 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:39:53.683 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:39:53.925 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:39:54.392 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:40:13.721 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:40:13.721 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:40:13.721 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:40:13.721 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:40:13.721 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:40:13.721 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:40:13.751 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:40:13.751 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:40:13.751 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:40:13.751 > [I][senddata.cpp:117] sendData(): Counter cleared
06:40:13.751 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:40:24.329 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:40:25.732 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:40:26.730 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:40:26.972 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:40:27.599 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:40:43.721 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:40:43.721 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:40:43.721 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:40:43.721 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:40:43.721 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:40:43.721 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:40:43.735 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:40:43.735 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:41:05.489 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:41:06.809 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:41:07.809 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:41:08.052 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:41:08.810 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:41:13.721 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:41:13.722 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:41:13.722 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:41:13.722 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:41:13.722 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:41:13.722 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:41:13.752 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:41:13.752 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:41:13.752 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:41:13.752 > [I][senddata.cpp:117] sendData(): Counter cleared
06:41:13.752 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:41:38.456 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:41:39.857 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:41:40.857 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:41:41.099 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:41:41.715 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:41:43.721 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:41:43.722 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:41:43.722 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:41:43.722 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:41:43.722 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:41:43.722 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:41:43.736 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:41:43.736 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:42:13.723 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:42:13.723 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:42:13.723 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:42:13.723 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:42:13.723 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:42:13.723 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:42:13.758 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:42:13.758 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:42:13.758 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:42:13.758 > [I][senddata.cpp:117] sendData(): Counter cleared
06:42:13.758 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:42:13.758 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:42:19.615 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:42:20.934 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:42:21.934 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:42:22.177 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:42:22.514 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:42:43.722 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:42:43.723 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:42:43.723 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:42:43.723 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:42:43.723 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:42:43.723 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:42:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:42:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:42:52.581 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:42:53.901 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:42:54.901 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:42:55.143 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:42:55.760 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:43:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:43:13.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:43:13.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:43:13.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:43:13.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:43:13.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:43:13.753 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:43:13.753 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:43:13.753 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:43:13.753 > [I][senddata.cpp:117] sendData(): Counter cleared
06:43:13.753 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:43:25.547 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:43:26.948 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:43:27.949 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:43:28.190 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:43:28.342 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:43:43.723 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:43:43.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:43:43.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:43:43.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:43:43.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:43:43.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:43:43.737 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:43:43.737 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:44:06.707 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:44:08.027 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:44:09.026 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:44:09.269 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:44:09.610 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:44:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:44:13.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:44:13.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:44:13.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:44:13.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:44:13.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:44:13.754 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:44:13.754 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:44:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:44:13.754 > [I][senddata.cpp:117] sendData(): Counter cleared
06:44:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:44:39.672 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:44:41.074 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:44:42.073 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:44:42.316 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:44:42.801 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:44:43.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:44:43.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:44:43.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:44:43.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:44:43.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:44:43.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:44:43.738 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:44:43.738 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:45:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:45:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:45:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:45:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:45:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:45:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:45:13.761 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:45:13.761 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:45:13.761 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:45:13.761 > [I][senddata.cpp:117] sendData(): Counter cleared
06:45:13.761 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:45:13.761 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:45:20.832 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:45:22.152 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:45:23.152 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:45:23.394 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:45:23.753 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:45:43.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:45:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:45:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:45:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:45:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:45:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:45:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:45:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:45:53.799 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:45:55.119 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:45:56.119 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:45:56.360 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:45:56.538 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:46:13.726 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:46:13.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:46:13.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:46:13.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:46:13.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:46:13.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:46:13.756 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:46:13.756 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:46:13.756 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:46:13.756 > [I][senddata.cpp:117] sendData(): Counter cleared
06:46:13.756 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:46:26.765 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:46:28.167 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:46:29.167 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:46:29.409 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:46:29.540 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:46:43.726 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:46:43.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:46:43.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:46:43.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:46:43.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:46:43.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:46:43.740 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:46:43.740 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:47:07.925 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:47:09.245 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:47:10.244 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:47:10.489 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:47:10.680 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:47:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:47:13.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:47:13.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:47:13.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:47:13.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:47:13.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:47:13.755 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:47:13.755 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:47:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:47:13.755 > [I][senddata.cpp:117] sendData(): Counter cleared
06:47:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:47:40.890 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:47:42.292 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:47:43.291 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:47:43.534 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:47:43.561 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:47:43.726 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:47:43.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:47:43.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:47:43.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:47:43.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:47:43.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:47:43.743 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:47:43.743 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:48:13.726 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:48:13.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:48:13.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:48:13.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:48:13.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:48:13.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:48:13.762 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:48:13.762 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:48:13.762 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:48:13.762 > [I][senddata.cpp:117] sendData(): Counter cleared
06:48:13.762 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:48:13.762 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:48:22.049 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:48:23.368 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:48:24.369 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:48:24.611 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:48:25.214 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:48:43.726 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:48:43.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:48:43.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:48:43.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:48:43.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:48:43.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:48:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:48:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:48:55.014 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:48:56.334 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:48:57.335 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:48:57.577 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:48:57.649 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:49:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:49:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:49:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:49:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:49:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:49:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:49:13.756 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:49:13.756 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:49:13.756 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:49:13.756 > [I][senddata.cpp:117] sendData(): Counter cleared
06:49:13.756 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:49:27.980 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:49:29.381 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:49:30.381 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:49:30.623 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:49:31.010 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:49:43.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:49:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:49:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:49:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:49:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:49:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:49:43.743 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:49:43.743 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:50:09.139 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:50:10.459 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:50:11.460 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:50:11.702 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:50:12.202 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:50:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:50:13.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:50:13.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:50:13.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:50:13.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:50:13.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:50:13.755 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:50:13.755 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:50:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:50:13.755 > [I][senddata.cpp:117] sendData(): Counter cleared
06:50:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:50:42.105 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:50:43.506 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:50:43.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:50:43.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:50:43.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:50:43.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:50:43.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:50:43.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:50:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:50:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:50:44.506 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:50:44.748 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:50:45.460 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:51:13.726 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:51:13.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:51:13.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:51:13.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:51:13.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:51:13.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:51:13.761 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:51:13.761 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:51:13.761 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:51:13.761 > [I][senddata.cpp:117] sendData(): Counter cleared
06:51:13.761 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:51:13.761 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:51:23.264 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:51:24.583 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:51:25.583 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:51:25.825 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:51:26.029 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:51:43.726 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:51:43.726 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:51:43.726 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:51:43.726 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:51:43.726 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:51:43.726 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:51:43.740 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:51:43.740 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:51:51.087 > [D][timekeeper.cpp:30] calibrateTime(): [34909.911] calibrateTime, timeSource == 0
06:51:52.092 > [I][timekeeper.cpp:89] setMyTime(): [34910.908] UTC time: 1610081511.004 sec
06:51:52.093 > [D][timekeeper.cpp:109] setMyTime(): [34910.908] Timesync finished, time was set | source: G
06:51:56.230 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:51:57.549 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:51:58.549 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:51:58.791 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:51:59.066 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:52:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:52:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:52:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:52:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:52:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:52:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:52:13.755 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:52:13.755 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:52:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:52:13.755 > [I][senddata.cpp:117] sendData(): Counter cleared
06:52:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:52:29.194 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:52:30.595 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:52:31.595 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:52:31.838 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:52:32.674 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:52:43.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:52:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:52:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:52:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:52:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:52:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:52:43.740 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:52:43.740 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:53:10.353 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:53:11.674 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:53:12.674 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:53:12.915 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:53:13.527 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:53:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:53:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:53:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:53:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:53:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:53:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:53:13.755 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:53:13.755 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:53:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:53:13.755 > [I][senddata.cpp:117] sendData(): Counter cleared
06:53:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:53:43.318 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:53:43.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:53:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:53:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:53:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:53:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:53:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:53:43.742 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:53:43.742 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:53:44.719 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:53:45.720 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:53:45.962 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:53:46.642 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:54:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:54:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:54:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:54:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:54:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:54:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:54:13.760 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:54:13.760 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:54:13.760 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:54:13.760 > [I][senddata.cpp:117] sendData(): Counter cleared
06:54:13.760 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:54:13.760 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:54:24.477 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:54:25.796 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:54:26.796 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:54:27.039 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:54:27.048 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:54:43.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:54:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:54:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:54:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:54:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:54:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:54:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:54:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:54:57.442 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:54:58.763 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:54:59.763 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:55:00.006 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:55:00.034 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:55:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:55:13.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:55:13.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:55:13.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:55:13.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:55:13.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 1
06:55:13.754 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:55:13.754 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:55:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:55:13.754 > [I][senddata.cpp:117] sendData(): Counter cleared
06:55:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:55:30.407 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:55:31.808 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:55:32.808 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:55:33.051 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:55:33.511 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:55:43.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:55:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:55:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:55:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:55:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:55:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:55:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:55:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:56:11.566 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:56:12.886 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:56:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:56:13.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:56:13.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:56:13.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:56:13.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:56:13.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:56:13.759 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:56:13.759 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:56:13.759 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:56:13.759 > [I][senddata.cpp:117] sendData(): Counter cleared
06:56:13.759 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:56:13.759 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:56:13.886 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:56:14.129 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:56:14.572 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:56:43.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:56:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:56:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:56:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:56:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:56:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:56:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:56:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:56:44.533 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:56:45.934 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:56:46.934 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:56:47.177 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:56:47.519 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:57:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:57:13.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:57:13.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:57:13.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:57:13.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:57:13.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:57:13.754 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:57:13.754 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:57:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:57:13.754 > [I][senddata.cpp:117] sendData(): Counter cleared
06:57:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:57:25.690 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:57:27.009 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:57:28.009 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:57:28.252 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:57:28.309 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:57:43.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:57:43.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:57:43.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:57:43.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:57:43.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:57:43.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:57:43.738 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:57:43.738 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:57:58.654 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:57:59.975 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:58:00.976 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:58:01.217 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:58:01.889 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:58:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:58:13.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:58:13.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:58:13.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:58:13.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:58:13.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:58:13.755 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:58:13.755 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:58:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:58:13.755 > [I][senddata.cpp:117] sendData(): Counter cleared
06:58:13.755 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:58:31.621 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
06:58:33.022 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:58:34.023 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:58:34.264 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:58:34.429 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
06:58:43.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:58:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:58:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:58:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:58:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:58:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:58:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:58:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:59:12.781 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:59:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:59:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:59:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:59:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:59:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
06:59:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:59:13.760 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:59:13.760 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:59:13.760 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
06:59:13.760 > [I][senddata.cpp:117] sendData(): Counter cleared
06:59:13.760 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
06:59:13.760 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
06:59:14.101 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:59:15.102 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
06:59:15.344 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
06:59:15.974 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
06:59:43.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
06:59:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
06:59:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
06:59:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
06:59:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
06:59:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
06:59:43.738 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
06:59:43.738 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
06:59:45.747 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
06:59:47.148 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:59:48.149 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
06:59:48.390 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
06:59:48.775 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:00:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
07:00:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:00:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:00:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:00:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 1
07:00:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
07:00:13.757 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
07:00:13.757 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:00:13.757 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
07:00:13.757 > [I][senddata.cpp:117] sendData(): Counter cleared
07:00:13.757 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
07:00:26.906 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
07:00:28.225 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
07:00:29.226 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
07:00:29.468 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
07:00:29.878 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:00:43.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
07:00:43.724 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:00:43.724 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:00:43.724 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:00:43.724 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
07:00:43.724 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
07:00:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
07:00:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:00:59.871 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        9
07:01:01.190 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
07:01:02.190 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        9
07:01:02.433 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     9
07:01:02.636 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
07:01:13.724 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
07:01:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:01:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:01:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:01:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
07:01:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
07:01:13.754 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
07:01:13.754 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:01:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
07:01:13.754 > [I][senddata.cpp:117] sendData(): Counter cleared
07:01:13.754 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
07:01:32.838 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
07:01:34.239 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
07:01:35.239 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
07:01:35.481 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
07:01:35.640 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:01:43.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
07:01:43.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:01:43.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:01:43.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:01:43.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
07:01:43.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
07:01:43.739 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
07:01:43.739 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:02:13.725 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102292, Size:236388, Alloc:90656, StackHWM:2312
07:02:13.725 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:02:13.725 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:02:13.725 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:02:13.725 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2284 bytes left | Taskstate = 2
07:02:13.725 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1480 bytes left | Taskstate = 2
07:02:13.760 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2304 bytes left | Taskstate = 1
07:02:13.760 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:02:13.760 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
07:02:13.760 > [I][senddata.cpp:117] sendData(): Counter cleared
07:02:13.760 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
07:02:13.760 > [W][lorawan.cpp:320] lora_enqueuedata(): LORA sendqueue is full
07:02:13.998 > [D][lorawan.cpp:399] myEventCallback(): TXSTART       10
07:02:15.317 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
07:02:16.316 > [D][lorawan.cpp:399] myEventCallback(): RXSTART       10
07:02:16.559 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE    10
07:02:16.705 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:02:20.670 > 
07:02:20.670 > Brownout detector was triggered
07:02:20.670 >
07:02:20.698 > ets Jun  8 2016 00:22:57
07:02:20.699 >
07:02:20.699 > rst:0xc (SW_CPU_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
07:02:20.699 > configsip: 0, SPIWP:0xee
07:02:20.699 > clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
07:02:20.699 > mode:DIO, clock div:2
07:02:20.699 > load:0x3fff0018,len:4
07:02:20.699 > load:0x3fff001c,len:1044
07:02:20.699 > load:0x40078000,len:8896
07:02:20.699 > load:0x40080400,len:5828
07:02:20.699 > entry 0x400806ac
07:02:22.660 > [D][esp32-hal-psram.c:47] psramInit(): PSRAM enabled
07:02:22.727 > [I][reset.cpp:81] do_after_reset(): Starting Software v2.1.1, runmode normal
07:02:22.728 > [I][configmanager.cpp:101] loadConfig(): Loading device configuration from NVRAM...
07:02:22.728 > [I][configmanager.cpp:126] loadConfig(): Runtime configuration v2.1.1 loaded
07:02:22.795 > [I][main.cpp:226] setup(): PSRAM found and initialized
07:02:22.796 > [I][main.cpp:259] setup(): Starting LED Controller...
07:02:22.796 > [I][power.cpp:195] calibrate_voltage(): ADC characterization based on reference voltage stored in eFuse
07:02:22.796 > [I][main.cpp:294] setup(): Starting MAC processor...
07:02:22.796 > [I][macsniff.cpp:54] macQueueInit(): MAC processing queue created, size 600 Bytes
07:02:22.796 > [I][main.cpp:298] setup(): Starting rcommand interpreter...
07:02:22.796 > [I][rcommand.cpp:493] rcmd_init(): Rcommand send queue created, size 55 Bytes
07:02:22.796 > [I][main.cpp:306] setup(): Starting Bluetooth...
07:02:22.805 > [I][blecsan.cpp:271] start_BLEscan(): Initializing bluetooth scanner ...
07:02:23.459 > [I][blecsan.cpp:229] register_ble_callback(): Register GAP callback...
07:02:23.460 > [I][blecsan.cpp:259] register_ble_callback(): Set GAP scan parameters
07:02:23.460 > [I][blecsan.cpp:279] start_BLEscan(): Bluetooth scanner started
07:02:23.460 > [I][gpsread.cpp:42] gps_init(): Using serial GPS
07:02:23.460 > [I][main.cpp:322] setup(): Starting GPS Feed...
07:02:23.460 > [I][lorawan.cpp:244] lmic_init(): LORA send queue created, size 530 Bytes
07:02:23.507 > [I][lorawan.cpp:294] lmic_init(): Starting LMIC...
07:02:23.508 > I (2199) wifi: wifi driver task: 3ffdf65c, prio:23, stack:3584, core=0
07:02:23.508 > I (4549) wifi: wifi firmware version: 7997e4b
07:02:23.508 > I (4550) wifi: config NVS flash: disabled
07:02:23.508 > I (4553) wifi: config nano formating: disabled
07:02:23.508 > I (4557) wifi: Init dynamic tx buffer num: 32
07:02:23.508 > I (4561) wifi: Init data frame dynamic rx buffer num: 32
07:02:23.508 > I (4566) wifi: Init management frame dynamic rx buffer num: 32
07:02:23.508 > I (4572) wifi: Init management short buffer num: 32
07:02:23.508 > I (4576) wifi: Init static rx buffer size: 1600
07:02:23.552 > I (4581) wifi: Init static rx buffer num: 16
07:02:23.552 > I (4584) wifi: Init dynamic rx buffer num: 32
07:02:23.552 > I (4589) wifi: set country: cc=EU␀ schan=1 nchan=13 policy=1
07:02:23.552 >
07:02:23.552 > W (4594) wifi: ap start fail
07:02:23.552 >
07:02:23.552 > I (4597) wifi: Set ps type: 0
07:02:23.552 >
07:02:23.552 > [I][main.cpp:426] setup(): Starting Wifi...
07:02:23.552 > I (4613) wifi: mode : null
07:02:23.552 > I (4614) wifi: ic_enable_sniffer
07:02:23.552 > [I][main.cpp:441] setup(): Starting Interrupt Handler...
07:02:23.552 > [I][main.cpp:469] setup(): Starting Timers...
07:02:23.552 > [I][main.cpp:519] setup(): Starting Timekeeper...
07:02:23.552 > [I][timekeeper.cpp:152] timepulse_init(): Timepulse: internal (ESP32 hardware timer)
07:02:23.586 > [D][timekeeper.cpp:30] calibrateTime(): [2.285] calibrateTime, timeSource == 3
07:02:23.586 > [D][gpsread.cpp:139] get_gpstime(): no valid GPS time
07:02:23.586 > [D][timekeeper.cpp:113] setMyTime(): [2.297] Timesync failed, invalid time fetched | source: G
07:02:23.586 > [I][main.cpp:527] setup(): Features: OLED PSRAM LED BATT BLE GPS LORA PACKED WIFI BTN_PD TIME
07:02:24.641 > [D][timekeeper.cpp:30] calibrateTime(): [3.372] calibrateTime, timeSource == 3
07:02:25.083 > [I][timekeeper.cpp:89] setMyTime(): [3.806] UTC time: 1610082144.566 sec
07:02:25.083 > [D][timekeeper.cpp:109] setMyTime(): [3.807] Timesync finished, time was set | source: G
07:02:53.615 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:02:53.615 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:02:53.615 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:02:53.615 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:02:53.615 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 3560 bytes left | Taskstate = 2
07:02:53.615 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 2580 bytes left | Taskstate = 2
07:02:53.629 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:02:53.629 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:03:23.618 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:03:23.618 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:03:23.618 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:03:23.618 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:03:23.618 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 3560 bytes left | Taskstate = 2
07:03:23.618 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 2580 bytes left | Taskstate = 2
07:03:23.658 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:03:23.658 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:03:23.658 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
07:03:23.658 > [I][senddata.cpp:117] sendData(): Counter cleared
07:03:23.658 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
07:03:23.658 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        2
07:03:23.658 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:03:24.967 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        1
07:03:25.967 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        1
07:03:26.211 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     1
07:03:26.917 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
07:03:53.615 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:03:53.616 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:03:53.616 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:03:53.616 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:03:53.616 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2472 bytes left | Taskstate = 2
07:03:53.616 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1492 bytes left | Taskstate = 2
07:03:53.632 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:03:53.632 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:03:56.608 > [D][lorawan.cpp:399] myEventCallback(): TXSTART
07:03:58.011 > [D][lorawan.cpp:399] myEventCallback(): RXSTART
07:03:59.011 > [D][lorawan.cpp:399] myEventCallback(): RXSTART
07:03:59.252 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE      
07:04:23.657 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:04:23.657 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:04:23.657 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:04:23.657 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:04:23.657 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2392 bytes left | Taskstate = 2
07:04:23.657 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1492 bytes left | Taskstate = 2
07:04:23.692 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:04:23.692 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:04:23.692 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
07:04:23.692 > [I][senddata.cpp:117] sendData(): Counter cleared
07:04:23.692 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
07:04:23.692 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:04:37.768 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        1
07:04:39.088 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        1
07:04:40.087 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        1
07:04:40.329 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     1
07:04:40.405 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
07:04:53.615 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:04:53.615 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:04:53.615 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 1
07:04:53.615 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:04:53.615 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2392 bytes left | Taskstate = 2
07:04:53.615 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1492 bytes left | Taskstate = 2
07:04:53.629 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:04:53.629 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 1
07:05:10.734 > [D][lorawan.cpp:399] myEventCallback(): TXSTART
07:05:12.135 > [D][lorawan.cpp:399] myEventCallback(): RXSTART
07:05:13.135 > [D][lorawan.cpp:399] myEventCallback(): RXSTART
07:05:13.377 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE      
07:05:23.617 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:05:23.617 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:05:23.617 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:05:23.617 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:05:23.617 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2392 bytes left | Taskstate = 1
07:05:23.617 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1492 bytes left | Taskstate = 2
07:05:23.651 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:05:23.651 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:05:23.651 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
07:05:23.651 > [I][senddata.cpp:117] sendData(): Counter cleared
07:05:23.651 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
07:05:23.651 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:05:51.892 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        1
07:05:53.212 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        1
07:05:53.614 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:05:53.615 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:05:53.615 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:05:53.615 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:05:53.615 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2392 bytes left | Taskstate = 1
07:05:53.615 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1492 bytes left | Taskstate = 2
07:05:53.628 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:05:53.628 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:05:54.213 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        1
07:05:54.455 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     1
07:05:54.573 > [I][lorawan.cpp:214] lora_send(): 13 byte(s) sent to LORA
07:06:23.616 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:06:23.617 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:06:23.617 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 1
07:06:23.617 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:06:23.617 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2392 bytes left | Taskstate = 2
07:06:23.617 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1492 bytes left | Taskstate = 2
07:06:23.647 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:06:23.647 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
07:06:23.647 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 1
07:06:23.647 > [I][senddata.cpp:117] sendData(): Counter cleared
07:06:23.647 > [D][senddata.cpp:13] SendPayload(): sending Payload for Port 4
07:06:24.857 > [D][lorawan.cpp:399] myEventCallback(): TXSTART        2
07:06:26.259 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        2
07:06:27.258 > [D][lorawan.cpp:399] myEventCallback(): RXSTART        2
07:06:27.501 > [D][lorawan.cpp:399] myEventCallback(): TXCOMPLETE     2
07:06:27.670 > [I][lorawan.cpp:214] lora_send(): 4 byte(s) sent to LORA
07:06:53.618 > [D][cyclic.cpp:30] doHousekeeping(): Heap: Free:110756, Min:102324, Size:236392, Alloc:90656, StackHWM:2312
07:06:53.618 > [D][cyclic.cpp:33] doHousekeeping(): IRQhandler 2312 bytes left | Taskstate = 0
07:06:53.618 > [D][cyclic.cpp:36] doHousekeeping(): MACprocessor 2392 bytes left | Taskstate = 2
07:06:53.618 > [D][cyclic.cpp:38] doHousekeeping(): Rcommand interpreter 2632 bytes left | Taskstate = 2
07:06:53.618 > [D][cyclic.cpp:41] doHousekeeping(): LMiCtask 2392 bytes left | Taskstate = 2
07:06:53.618 > [D][cyclic.cpp:44] doHousekeeping(): Lorasendtask 1492 bytes left | Taskstate = 2
07:06:53.632 > [D][cyclic.cpp:48] doHousekeeping(): Gpsloop 2316 bytes left | Taskstate = 1
07:06:53.632 > [D][cyclic.cpp:67] doHousekeeping(): LEDloop 484 bytes left | Taskstate = 2
HouzuoGuo commented 3 years ago

As a temporary measure, i'm going to reset the microcontroller if there are too many consecutive readings of 0 on the pax counter:

https://github.com/HouzuoGuo/ESP32-Paxcounter/commit/c18ff869f1f5d10d0c8ed2cd2c65fd78b130c59d

See how that goes..

HouzuoGuo commented 3 years ago

The readings on OLED further confirm the observations made from the dashboard, both WiFi and BLE counters read 0, while the ID of wifi channel being scanned keeps on rolling - it just happens to read 0 at the moment the picture was taken.

IMG_1335

cyberman54 commented 3 years ago

Sorry that you ran in problems running this software.

Zero values could be a result of unsolicited board resets. To ensure that there a no resets, please check uptime value from your board (rcommand 0x81) after you encountered zero values.

cyberman54 commented 3 years ago

@HouzuoGuo Your log shows:

HouzuoGuo commented 3 years ago

Thank you, i’ll dig deeper and look for the cause of a full lora send queue. According to TTN console, the transmitter indeed was sending consecutive readings of 0 PAX.

In the meanwhile, here’s the dashboard: https://admin.tago.io/public/dashboard/5ff7361709890a0027afb78f/b97d8a56-926e-4c8b-b0cc-46d8633eced3

My temporary, auto-reset patch is running on the transmitter right now, i want to see how often does the auto-reset have to happen.

cyberman54 commented 3 years ago

Check uptime value of the board, to ensure it has not unsolicited resets. Check frame counter in TTN console, to ensure there are no rejoins.

I never saw this issue, and no other user reported this yet.

So, if this is a bug in the code, i will be very interested to find out the root cause.

cyberman54 commented 3 years ago

@HouzuoGuo Can you, please, post your paxcounter.conf here, thanks.

cyberman54 commented 3 years ago

and one more hint: in vscode, write log file with pio device monitor -f log2file

cyberman54 commented 3 years ago

and another hint: if you're using TTN as LORAWAN network, you may activate data storage integration in your TTN application. Then retrieve the raw payload from the database to check.

HouzuoGuo commented 3 years ago

Thanks for the hints!

Here's the branch with my configuration files, couple of cosmetic changes made for the OLED display, and couple more tweaks including the auto-reset patch:

https://github.com/HouzuoGuo/ESP32-Paxcounter/commits/master

Here is the paxcounter.conf:

https://github.com/HouzuoGuo/ESP32-Paxcounter/blob/master/src/paxcounter.conf

(BTW, the ABP keys in https://github.com/HouzuoGuo/ESP32-Paxcounter/blob/master/src/loraconf.h are no longer current)

According to the data of the past two days, as plotted on the dashboard, the auto-reset patch seems to have kicked in 15 times, the interval in between is rather random:

image

Next, I'll collect the log output in a text file and see if there are more clues.

HouzuoGuo commented 3 years ago

On a related note, do you like this new GPS info display, with more details such as UTC time and altitude? If so, I'll make a PR for it:

IMG_1342

cyberman54 commented 3 years ago

Thanks for your improvements here.

You're welcome to redesign screen layout. If you make any changes to the screen layout, keep in mind that same layout must fit on TFT displays (e.g. TTGO T-DISPLAY or M5 stack), too.

We should keep focus on this weird issue with zeroes in the counter. I have no clue what could cause this, and i can not reproduce this issue on any of my boards, including a T-Beam v0.7 which runs for days now.

Thus, the issue may depend on local context, e.g. power supply / timezone / Lorawan network or parameters / board hardware ...

HouzuoGuo commented 3 years ago

I suspected that the power supply from my laptop's USB port may have been unstable, after digging around in the source code, I managed to:

In addition to couple of cosmetic changes, and automatically resetting the microcontroller if there have been consecutive readings of PAX number 0 for 10 minutes: https://github.com/HouzuoGuo/ESP32-Paxcounter/commit/c09a52cef8d72f64b3e40ae2560ec56e5290c794

My T-Beam is running the code from that forked master branch, the LoRa outgoing packet queue is no longer filling up, the number of queues messages often reads 0 and it is always below 4. Although according to both OLED display and TTN application data console, the PAX counter reading still drops to 0 (and stays at 0) quite often:

image

Next round, I'll leave the board connected to laptop and collect the serial output into a file.

cyberman54 commented 3 years ago

Do you have a second board to test? Maybe it's hardware problem.

I put the code of current master branch on T-Beam v0.7, but could not reproduce this issue yet.

image

cyberman54 commented 3 years ago

To check power supply, please dismount 18650 battery from T-Beam while testing / logging, to reduce USB current.

HouzuoGuo commented 3 years ago

That's a good point, perhaps the board itself is faulty. I don't have another T-Beam v0.7, however there are two v1.1 boards coming in couple of days via mail. Let me open a new issue when this problem happens on another board.

cyberman54 commented 3 years ago

@HouzuoGuo As is see on your dashboard, you got it up and running now without zero drops? What did you change?

HouzuoGuo commented 3 years ago

@cyberman54 hehe - you were totally right, the ttgo t-beam v0.7 board must have been faulty.

I put it away in favour of a newly arrived t-beam v1.1, along with some bme280 sensor boards. This new t-beam works far better and pax counter has been working fine.