修改默认mqtt服务器地址

This commit is contained in:
Easy 2022-03-24 22:31:46 +08:00
parent 78a91d642b
commit b494dec36c
1 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
#define WIFI_SSID "wifi名称"
#define WIFI_PASSWORD "wifi密码"
#define MQTT_IP "pushdeer公网IP"
#define MQTT_USER "MQTT用户名"
#define MQTT_PASSWORD "MQTT密码"
#define MQTT_TOPIC "PushDeer pushkey" // 这里填PushDeer的Key
#define MQTT_IP "broker.emqx.io"
#define MQTT_USER ""
#define MQTT_PASSWORD ""
#define MQTT_TOPIC "LB2353" // 这里填PushDeer的Key
#define MQTT_PORT 1883
#define MQTT_CLIENT_NAME "DeerEsp" // 多个同名设备连接同一台服务器会导致其他下线,所以起一个唯一的名字吧
#define MQTT_CLIENT_NAME "DeerEsp-001" // 多个同名设备连接同一台服务器会导致其他下线,所以起一个唯一的名字吧
// ====== 以下不用修改 ===============