mqtt url length increased to 63 characters
This commit is contained in:
parent
8da969e5df
commit
47fd71f5e8
|
|
@ -82,7 +82,7 @@
|
|||
#if CONFIG_WEBGUIAPP_MQTT_ENABLE
|
||||
struct
|
||||
{
|
||||
char ServerAddr[32];
|
||||
char ServerAddr[64];
|
||||
uint16_t ServerPort;
|
||||
char SystemName[32];
|
||||
char GroupName[32];
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ static HTTP_IO_RESULT HTTPPostAdaptersSettings(httpd_req_t *req, char *PostData)
|
|||
|
||||
static HTTP_IO_RESULT HTTPPostServicesSettings(httpd_req_t *req, char *PostData)
|
||||
{
|
||||
char tmp[33];
|
||||
char tmp[64];
|
||||
#if CONFIG_WEBGUIAPP_MQTT_ENABLE
|
||||
bool TempIsMQTT1Enabled = false;
|
||||
#if CONFIG_WEBGUIAPP_MQTT_CLIENTS_NUM == 2
|
||||
|
|
|
|||
|
|
@ -242,8 +242,8 @@ static void start_mqtt()
|
|||
{
|
||||
esp_mqtt_client_config_t mqtt_cfg = { 0 };
|
||||
|
||||
char url[40];
|
||||
char tmp[40];
|
||||
char url[72];
|
||||
char tmp[72];
|
||||
|
||||
for (int i = 0; i < CONFIG_WEBGUIAPP_MQTT_CLIENTS_NUM; ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user