4G_2G DTU Products Function
- 39 -
◆
Query Operation:
AT+MODBUS=<id><CR>
+ok=<id><status><CR><LF><CR><LF>
◆
Set Operation:
AT+MODBUS=<id><status><CR>
+ok<CR><LF><CR><LF>
◼
Parameter:
◆
id: Serial port number
⚫
1: Port 1
⚫
2: Port 2 (G10, G11, G12 support)
◆
status: Modbus RTU to TCP function
⚫
on: Enable
⚫
off: Disable, default
【
off
】
2.4.2.18.
AT+SMSID
◼
Function: Set/query SMS parameters, the settings will take effect after reset.
◼
Format:
◆
Query Operation:
AT+SMSID<CR>
+ok=<id,status[,number]><CR><LF><CR><LF>
◆
Set Operation:
AT+SMSID=<id,status[,number]><CR>
+ok<CR><LF><CR><LF>
◼
Parameter:
◆
id: SMS identifi
er, default is “#SMS#”, add this identifier at the beginning of UART data,
the packet will then sent to SMS, not to socket.
◆
status: SMS function mode
⚫
0: Disable SMS number update, always sent to the set number.
⚫
1: Enable SMS number update, default is 1. If receive SMS from phone, it will auto
update the number, the next received packet will send to this update number.
◆
number: phone number.
2.4.2.19.
AT+NETP
◼
Function: Set/Query network protocol parameters, the settings will take effect after reset
◼
Format:
◆
Query Operation:
AT+NETP=<id><CR>
+ok=<id,uart,protocol,IP[,port,mode,time]><CR><LF><CR><LF>
◆
Set Operation:
AT+NETP=<id,uart,protocol,IP[,port,mode,time]><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.
◆
uart: Serial port number, to which the data is sent after receiving the communication
channel, including the following parameters.
⚫
1: Port 1, default
【
1
】
⚫
2: Port 2, (G10, G11, G12 support)
◆
protocol: Protocol type, including the following parameters.
Off: off status, 5 channels default to
【
off
】。
TCP: TCP mode.
UDP: UDP mode.
HTTP: HTTP mode, only Socket A support this
Содержание 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...