
Appendix: AT Commands Set
CommFront User Manual
43
11)
Query or set Local port
Command
Response
AT+SOCKPORT<CR>
+OK=<number>
AT+SOCKPORT=<number><CR>
+OK
Number:
0 – Random
1-65535 – Local port
Example: AT+SOCKPORT=502<CR>
12)
Query Production time
Command
Response
AT+PDTIME<CR>
+OK=<time>
Example: +OK=2021-01-01 15:43:11
13)
Query or set Registry packet type
Command
Response
AT+REGEN<CR>
+OK=<type>
AT+REGEN=<type><CR>
+OK
Type:
OFF: No registry packet is used
MAC – Use MAC address as registry
packet
USR – Use user-defined packet
CLOUD – Use cloud packet
Example: AT+REGEN=MAC<CR>
14)
Query or set When to send registry packet
Command
Response
AT+REGTCP<CR>
+OK=<type>
AT+REGTCP=<type><CR>
+OK
Type:
FIRST – Send together with connection
string
EVERY – Send together with data string
ALL – Send together with connection
and data string
Example: AT+REGTCP=FIRST<CR>
15)
Query or set Device ID and cloud key for cloud connection
Command
Response
AT+REGCLOUD<CR>
+OK=<deviceID,cloudKey>
AT+REGCLOUD=<deviceID,cloudKe
y><CR>
+OK
Device ID – Device ID for cloud
connection
Cloud Key – Cloud key for cloud
connection
Example:
AT+REGCLOUD=00000001,0001<CR>
Содержание DVS-232-2
Страница 39: ...4 0 Troubleshooting CommFront User Manual 38...