Browse Source

version fix (was not increased)

increased MQTT user, pwd and topic length to 64 characters + `\0`. (The string end `\0` reduces the available size by one) #516
pull/518/head
lumapu 2 years ago
parent
commit
c71975a164
  1. 1
      src/CHANGES.md
  2. 8
      src/defines.h

1
src/CHANGES.md

@ -3,6 +3,7 @@
## 0.5.59
* fix night communication enable
* improved different WiFi connection scenarios (STA WiFi not found, reconnect #509, redirect for AP to configuration)
* increased MQTT user, pwd and topic length to 64 characters + `\0`. (The string end `\0` reduces the available size by one) #516
## 0.5.58
* improved stability

8
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 5
#define VERSION_PATCH 58
#define VERSION_PATCH 59
//-------------------------------------
typedef struct {
@ -86,9 +86,9 @@ union serial_u {
#define NTP_ADDR_LEN 32 // DNS Name
#define MQTT_ADDR_LEN 64 // DNS Name
#define MQTT_USER_LEN 64
#define MQTT_PWD_LEN 64
#define MQTT_TOPIC_LEN 64
#define MQTT_USER_LEN 65 // there is another byte necessary for \0
#define MQTT_PWD_LEN 65
#define MQTT_TOPIC_LEN 65
#define MQTT_MAX_PACKET_SIZE 384

Loading…
Cancel
Save