N20AT Command ManualCopyright © Neoway Technology Co., Ltd 9612.5 Unsubscription: +MQTTUNSUBDescription To unsubscribe a topicFormat AT+MQTTUNSUB=<”topicname”>Parameter <”topicname”>: Topic to unsubscribe to, max. 128 bytesReturn Value OKExample AT+MQTTUNSUB="lixytopic"OK Unsubscribe to a topicRemarks N/A12.6 Publishing Topic: +MQTTPUBDescription To publish a topicFormat AT+MQTTPUB=,,<”topicname”>,Parameter: Retain mark, digit type, 0 and 1: Quality of service, 0 and 1 supported<”topicname”>: Topic, max. 128 bytes: Message, max. 1024 bytesReturn Value OKExampleAT+MQTTPUB=1,1,"lixytopic",123321HELLOOKThe topic is publishedsuccessfully.AT+MQTTPUB=1,1,"lixytopic",123321HELLOOK+MQTTSUB:5,"lixytopic",11,123321HELLOThe server does not supportQoS=2. After the commandtimes out, the devicedisconnects to the MQTT server.Developers need to reconnectmanually.Remarks N/A