Operation Guide

© 2022 Shanghai RaymonIoT Technology Co., Ltd.
X-C13SG_REV1.6_Operation Guide
X-C13SG
Shanghai RaymonIoT Technology Co., Ltd.
28
Set Operation:
AT+SOCKAIDEN=<id,status><CR>
+ok<CR><LF><CR><LF>
Parameters:
id: Communication channel number, including the following parameters..
A: SOCKA
B: SOCKB
status: Status values, including the following parameters.
on: Enable.
off: Close, defaultoff.
Under enabled status, increase the communication channel number tag value in the received data header,
such as receiving dataabc, and the actual serial port output #SOCKA#abc.
Under serial port transmission mode, user must increase the communication channel number tag value in
the header, so that the data will only be sent to the specified channel. For example, you need to send data
abc to the SOCKA channel, and the actual serial port needs to send #SOCKA#abc.
Under disabling mode, the data output by the serial port does not distinguish the communication channel
number, and the data received by the serial port is sent to all communication channels pointing to the
serial port number.
1.3.3.50. AT+SOCKAID
Function: Set/query the communication channel number tag value.
Format:
Query Operation:
AT+SOCKAID=<id><CR>
+ok=<id,value><CR><LF><CR><LF>
Set Operation:
AT+SOCKAID=<id,value><CR>
+ok<CR><LF><CR><LF>
Parameters:
id: Communication channel number, including the following parameters..
A: SOCKA
B: SOCKB
value: Communication channel number mark, SOCKA default#SOCKA#, SOCKB default#SOCKB#,
up to 10 characters.
1.3.3.51. AT+SOCKASERMAX
Function: Set/ Query SOCKA TCP Client connection number.
Format:
Query Operation:
AT+SOCKASERMAX<CR>
+ok=<num><CR><LF><CR><LF>
Set Operation:
AT+SOCKASERMAX=<num><CR>
+ok<CR><LF><CR><LF>
Parameters:
num: TCP Client connection number. Range: 1~5. 5 is the default value it means when the module work in
TCP server , it accepts max 5 TCP client connect to it.