Operation Guide
© 2022 Shanghai RaymonIoT Technology Co., Ltd.
X-C13SG_REV1.6_Operation Guide
X-C13SG
Shanghai RaymonIoT Technology Co., Ltd.
32
+ok<CR><LF><CR><LF>
Parameters:
data_lenth: Lenth of send data. Range: 0~1000 Byte
The UART port will wait 3 seconds for input after this command is sent OK. The data received from UART
port is sent to SOCKB. If the interval of two bytes is more than 10ms, the data will be sent instantly.
1.3.3.62. AT+SOCKBRECV
Function: Receive datas from SOCKB at Command Mode
Format:
AT+SOCKBRECV=<data_lenth><CR>
+ok=< data_lenth, data_content><CR><LF><CR><LF>
Parameters:
data_lenth: Lenth of receive data. Range: 0~1000 Byte
data_content: contents of receive data
If not receive any data in 3 second, then feedback +ok=0.
1.3.3.63. AT+UDPPORT
Function: Set/Query UDP local port of SOCKA and SOCKB
Format:
Query Operation:
AT+UDPPORT<CR>
+ok=<porta,portb><CR><LF><CR><LF>
Set Operation:
AT+UDPPORT=<porta,portb><CR>
+ok<CR><LF><CR><LF>
Parameters:
porta: UDP local port of SOCKA, 0: do not fix local UDP port.
portb: UDP local port of SOCKB, 0: do not fix local UDP port..
1.3.3.64. AT+NREGEN
Function: Set/Query Communication Channel Number Registration Package Function.
Format:
Query Operation:
AT+NREGEN=<id><CR>
+ok=<id,status><CR><LF><CR><LF>
Set Operation:
AT+NREGEN=<id,status><CR>
+ok<CR><LF><CR><LF>
Parameters:
id: Communication channel number, including the following parameters..
A: SOCKA
B: SOCKB
status: Status value, including the following parameter..
on: Enable
off: Close, default【off】