User's Manual

DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com - 59 -
AT+REGEN<CR>
+ok=<mode><CR>< LF ><CR>< LF >
Set Operation
AT+REGEN=<mode><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: Register packet type
id: id type
mac: mac type
off: disable this function, default value.
5.2.2.39. AT+REGTCP
Function: Set/Query methods of TCP Client register packet, setting is valid after reboot.
Format:
Query Operation
AT+REGTCP<CR>
+ok=<type><CR>< LF ><CR>< LF >
Set Operation
AT+REGTCP=<type><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
type: Register packet method
first: Register packet is sent when connection is created, default value.
every: Register packet is send for every data packet.
5.2.2.40. AT+REGID
Function: Set/Query TCP Client register packet id, setting is valid after reboot.
Format:
Query Operation
AT+REGID<CR>
+ok=<id><CR>< LF ><CR>< LF >
Set Operation
AT+REGID=<id><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
id: Register packet id, 0~65535, default is 1111.
Note: When device connect to server, it will send two bytes id number(0~65535, high byte first) and
two bytes id complement number, for example id is 1111. Then the data sent to server is "0x04 0x57
0xFB 0xA8". If choose MAC address type, for example ACCF23300130, it will be "0xAC 0xCF 0x23
0x30 0x01 0x30"
5.2.2.41. AT+EPHY
Function: Enable ETH interface;
Format: