![Usr USR-GPRS232-701 Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/usr/usr-gprs232-701/usr-gprs232-701_user-manual_1064511025.webp)
GPRS DTU User Manual V1.3
http://en.usr.cn
Jinan USR IOT Technology Limited
Page 25 of 31
When the module is establishing a connection,which specifies send some command
protocol packet, such as register packet
、
heartbeat packet. Parameter definition is as
belows:
0 - Heartbeat packet
1 - Device register packet (Device ID)
a.
Heartbeat packet set
Send
AT+CIPPACK=0,<keepalive_packet><CR><LF>
Return
<CR><LF>OK<CR><LF>
Note: <Keepalive_packet> is hexadecimal character string
b.
Device register packet (Device ID) set
Send
AT+CIPPACK=1,<register_packet><CR><LF>
Return
<CR><LF>OK<CR><LF>
Note: < register_packet> is hexadecimal character string
The data format definition of heartbeat packet or other data packet, each byte is called
Hexadecimal character string, maximum support 80 bytes hexadecimal heartbeat packet.
Example:
AT+CIPPACK=0,"4C4F47"
Configure DTU heartbeat packet data format
AT+CIPPACK=1, "4C4F47494E3A31303031" set module register packet “LOGIN:1001”
6.3.Set TCP/IP
1. Link Mode: Support single link mode only, as this device in transparent transmission
mode
Configure single link mode
Send
AT+CIPMUX=0<CR><LF>
Return
<CR><LF>+CIPMUX:0<CR><LF>OK<CR><LF>
Configure common data mode
Send
AT+CIPMODE=1<CR><LF>
Return