Ebyte E810-DTU User Manual page 32

Ethernet to rs485/rs232
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Ethernet to 485/232
TCPC is TCP client
UDPS is UDP server
UDPC is UDP client
IP When the module is set to "CLIENT", it refers to the IP address or domain name of the target server.
Port Port number: Local port number in Server mode, remote port number in Client mode, decimal number, less than 65535.
Example: AT+SOCK=TCPC,192.168.4.100,8887<CR>
Example: AT+SOCK=TCPC,www.cdebyte.com
Default: SOCK=TCPC,192.168.4.100,8887
7.2.13. AT+REGMOD
Function: Set/Query Registration Package Mode
Format: Query
Send:AT+REGMOD<CR>
Return:<CR><LF>+OK=< status ><CR><LF>
Set
Send:AT+REGMOD =< status ><CR>
Return:<CR><LF>+OK<CR><LF>
Parameter:
status
EMBMAC A 6-byte MAC is added as registered packet data before each packet sent to the server.
EMBCSTM Add custom registration packet data before each packet sent to the server.
OLMAC Only send a 6-byte MAC registration packet when connecting to the server for the first time.
OLCSTM Send a user-defined registration package when connecting to the server for the first time.
OFF Disable registration package mechanism.
Example: AT+ REGMOD =EMBMAC<CR>
Default: REGMOD =EMBMAC
7.2.14. AT+REGINFO
Function: Set/Query Custom Registration Package Information
Format: Query
Send:AT+ REGINFO <CR>
Return:<CR><LF>+OK=< data ><CR><LF>
Set
Send:AT+ REGINFO =< data ><CR>
Return:<CR><LF>+OK<CR><LF>
Parameter:
data ASCII code or hexadecimal data within 40 bytes。
例如: AT+ REGINFO = regist msg <CR>
Default: REGINFO=regist msg
7.2.15. AT+HEARTMOD
Function: Set/Query heartbeat packet mode
Format: Query
Send:AT+ HEARTMOD<CR>
Return:<CR><LF>+OK=< mode ><CR><LF>
Set
Copyright ©2012–2017,成都亿佰特电子科技有限公司
E810-DTU User Manual
31

Advertisement

Table of Contents
loading

Table of Contents