reduce mqtt and lora queue length

This commit is contained in:
Bogdan Pilyugin 2023-01-11 14:49:57 +02:00
parent 03aa08689d
commit 6ede002242
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
#define MESSAGE_LENGTH 32 #define MESSAGE_LENGTH 32
#define TAG "LoRaWANApp" #define TAG "LoRaWANApp"
#define LORAWAN_APP_LOG_ENABLED 1 #define LORAWAN_APP_LOG_ENABLED 1
#define LORAWAN_MESSAGE_BUFER_LENTH 8 #define LORAWAN_MESSAGE_BUFER_LENTH 5
QueueHandle_t LORAMessagesQueueHandle; QueueHandle_t LORAMessagesQueueHandle;
static StaticQueue_t xStaticLoRaMessagesQueue; static StaticQueue_t xStaticLoRaMessagesQueue;

View File

@ -24,7 +24,7 @@
#include "NetTransport.h" #include "NetTransport.h"
#include "MQTT.h" #include "MQTT.h"
#define MQTT_MESSAGE_BUFER_LENTH 8 //size of mqtt queue #define MQTT_MESSAGE_BUFER_LENTH 5 //size of mqtt queue
#define MQTT_RECONNECT_CHANGE_ADAPTER 3 #define MQTT_RECONNECT_CHANGE_ADAPTER 3
#if CONFIG_WEBGUIAPP_MQTT_ENABLE #if CONFIG_WEBGUIAPP_MQTT_ENABLE