AT+MQTTPUB=0,"maxisense_1/send","\"{\"Power\":\"ON\"}\"",0,0
OK
AT+MQTTPUB=0,"maxisense_1/send","\"{\"Power\":\"On\",\"Message\":\"\"}\"",0,0
ERROR
AT+MQTTPUB:以字符串形式发布 MQTT 消息
Moderator: ESP_XCGuang
Re: AT+MQTTPUB:以字符串形式发布 MQTT 消息
这是因为特殊字符在 AT 命令中需要转移,逗号也是特殊字符的,你的逗号没有进行转义。
Who is online
Users browsing this forum: No registered users and 15 guests