CS-E3100 User Manual
OneFex
28
3.2.4.24
MODBUSn
Modbus converter of the nth serial
AT+MODBUSn
+MODBUSn:<sta>
AT+ MODBUSn =<sta>
OK
Parameter
<sta>
ON: Enable
OFF: Disable(default)
3.2.4.25
SOCKENns
Enable or disable Socketns(n is number of serial, s is A or B)
AT+SOCKENns
+SOCKENns:<state>
AT+SOCKENns:<state>
OK
Parameter
<state>
ON
OFF
Default: Only Socket1A enabled
3.2.4.26
SOCKns
Parameters or Socketns(n is number of serial, s is A or B)
AT+SOCKns
+SOCKns:<type>,<addr>,<port>[,localport]
AT+SOCKns:<type>,<addr
>,<port>[,localport]
OK
Parameter
<type>
Protocol:
TCPC: TCP Client
TCPS: TCP Server
UDPC: UDP Client
UDPS: UDP Server
HTPC: HTTP Client
EDP: OneNET EDP
MQTT(coming soon)
<addr>
Address of remote server, Up to 64 bytes, invalid in Server
mode
<port>
Port of remote server in Client mode, Local port in Server
mode
1~65535
<localport>
Local port of Client, can be omitted.
0~65535, 0(default)means using random port