Ver Fonte

update: mqtt,调整密码最长长度到512字节

Wendal Chen há 1 ano atrás
pai
commit
73667197b8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      components/network/libemqtt/libemqtt.h

+ 1 - 1
components/network/libemqtt/libemqtt.h

@@ -42,7 +42,7 @@
 #endif
 
 #ifndef MQTT_CONF_PASSWORD_LENGTH
-	#define MQTT_CONF_PASSWORD_LENGTH 192 // Recommended by MQTT Specification (12 + '\0')
+	#define MQTT_CONF_PASSWORD_LENGTH 512 // Recommended by MQTT Specification (12 + '\0')
 #endif