AT+CWMODE=1 设置为station 模式,ap&station也可以WIFI连接AT+CWJAP=,[,][,][,][,]Function: to set the AP to which the ESP32 Station needs to be connected.AT+MQTTUSERCFG//用户信息配置AT+MQTTCONNCFG//连接配置AT+MQTTCONN//连接命令AT+MQTTSUB=0,"topic",1AT+MQTTPUB=0,"topic","test",1,0 程序修改
AT+CWMODE=1 设置为station 模式,ap&station也可以WIFI连接AT+CWJAP=,[,][,][,][,]Function: to set the AP to which the ESP32 Station needs to be connected.AT+MQTTUSERCFG//用户信息配置AT+MQTTCONNCFG//连接配置AT+MQTTCONN//连接命令AT+MQTTSUB=0,"topic",1AT+MQTTPUB=0,"topic","test",1,0 程序修改