4G_2G DTU Products Function
- 41 -
⚫
B: Socket B channel.
⚫
C: Socket C channel.
◆
time: TCP timeout value.
⚫
0: Turn off this function
⚫
1~600: Seconds of time out, default
【
300
】
Module begin to count time when TCP channel don
’
t receive any data, clear time counter when TCP
channel receive any data. If the time counter reaches the TCPTO, the tcp channel will be break and reconnect
the TCP server instantly.
2.4.2.22.
AT+NETPIDEN
◼
Function: Set/query whether display from which communication channel the data comes from,
and the setting will take effect after reset.
◼
Format:
◆
Query Operation:
AT+NETPIDEN=<id><CR>
+ok=<id,status><CR><LF><CR><LF>
◆
Set Operation:
AT+NETPIDEN=<id,status><CR>
+ok<CR><LF><CR><LF>
◼
Parameter:
◆
id: Communication channel number, including the following parameters.
⚫
A: Socket A channel.
⚫
B: Socket B channel.
⚫
C: Socket C channel.
◆
status: Status values, including the following parameters.
⚫
on: Enable.
⚫
off: Close, default
【
off
】
.
Under enabled status, increase the communication channel number tag value in the received data header,
such as receiving data
【
abc
】
, 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.
2.4.2.23.
AT+NETPID
◼
Function: Set/query the communication channel number tag value.
◼
Format:
◆
Query Operation:
AT+NETPID=<id><CR>
+ok=<id,value><CR><LF><CR><LF>
◆
Set Operation:
AT+NETPID=<id,value><CR>
+ok<CR><LF><CR><LF>
◼
Parameter:
◆
id: Communication channel number, including the following parameters.
⚫
A: Socket A channel.
⚫
B: Socket B channel.
⚫
C: Socket C channel.
◆
value: Communication channel number mark, SOCKA default
【
#SOCKA#
】
, SOCKB default
【
#SOCKB#
】
, and so on, up to 10 characters.
2.4.2.24.
AT+DATA
◼
Function: Set/Query Channel Send/Receive the Number of Bytes
Содержание Elfin-EG10
Страница 5: ...4G_2G DTU Products Function http www iotworkshop com 5 2 4 2 52 AT NDBGL 50 2 4 2 53 AT SCRIPT 50...
Страница 29: ...4G_2G DTU Products Function http www iotworkshop com 29 Figure 28 Scirpt Funciton...
Страница 51: ...4G_2G DTU Products Function http www iotworkshop com 51 Parameter del Delete HIS script...