Operation Guide

© 2022 Shanghai RaymonIoT Technology Co., Ltd.
X-C13SG_REV1.6_Operation Guide
X-C13SG
Shanghai RaymonIoT Technology Co., Ltd.
35
Format:
Query Operation:
AT+HTPHEAD<CR>
+ok=<header><CR>< LF><CR>< LF>
Set Operation:
AT+HTPHEAD=<header><CR>
+ok<CR>< LF><CR>< LF>
Parameters:
heade HTTP header, for new line in header use “<CRLF><CRLF>”. 180 characters maximum
1.3.3.71. AT+MQTOPIC
Function: Set/query SOCKA MQTT topic content. Setting will take effect after reset
Format:
Query Operation:
AT+MQTOPIC<CR>
+ok=<publish,subscribe><CR>< LF><CR>< LF>
Set Operation:
AT+MQTOPIC=<publish,subscribe[,opt]><CR>
+ok<CR>< LF><CR>< LF>
Parameters:
publish: publish topic, default: %MAC/up, %MAC is module MAC address, show real MAC when query.
Max 60 characters.
subscribe: subscribe topic, default: %MAC/down, max 60 characters
opt: option parameter, default is saved to flash if not fill in this
0: Not save to flash, used for scene that change topic frequently.
1: Save to flash.
1.3.3.72. AT+MQLOGIN
Function: Set/query SOCKA MQTT login content. Setting will take effect after reset
Format:
Query Operation:
AT+MQLOGIN<CR>
+ok=<user,password><CR>< LF><CR>< LF>
Set Operation:
AT+MQLOGIN=<user,password><CR>
+ok<CR>< LF><CR>< LF>
Parameters:
user: login user, max 32 characters
password: login password, max 32 characters
1.3.3.73. AT+MQPARA
Function: Set/query SOCKA MQTT parameters. Setting will take effect after reset
Format:
Query Operation:
AT+MQPARA<CR>