AT+HMSUB
This command is used to subscribe to a custom topic.
Command |
Parameter |
Default Parameter Processing |
AT Response |
Example |
---|---|---|---|---|
AT+HMSUB=qos, topic |
qos: topic QoS. |
Default value: 0 |
+HMSUB OK when success |
AT+HMSUB=0,"$oc/devices/my_deviceid/user/my_subtopic" |
topic: custom topic. |
Custom |
+HMSUB ERR:code code:reference to en_oc_mqtt_err_code_t defines |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot