background image

Chengdu ebyte electronic Technology Co.,Ltd.

E840-TTL-GPRS03 User Manual

Copyright ©2012–2017

Chengdu ebyte electronic Technology Co.,Ltd.

7

2.2.1 Operating modes are as follows

1, The operating mode is divided into: transparent transmission mode, AT configuration mode

a) Transparent transmission mode: After power-on, the module works in the transparent transmission mode by
default, and automatically starts the network connection. When the connection is established with the server, any
data received by the serial port will be transparently transmitted to the server. At the same time, it can also
receive the data from the server. After receiving the server data, the module will output directly through the serial
port. The maximum length of data supported by this module is 512 bytes.

b) This module supports one-way Socket connection. The user can configured it as TCP Client or UDP Client. In
transparent transmission mode, the received serial port data will be directly transmitted to the network server, and
the received network server data will be directly output through the serial port.

c) AT mode: In this mode, the serial port data is regarded as an AT command.

d) Mode switching, after the serial port receives the “+++” frame data in the transparent transmission mode, the
RX pin receives any AT command within 3 seconds, and the mode switches to the AT mode. In AT mode, send
AT+EXAT<CR><LF> to switch to transparent transmission mode.

3. Network Function

a)

Short connection: In TCP Client mode, the short connection function is enabled. If there is no data reception

in the serial port or network port within the set time, the network connection will be automatically disconnected.
The short connection function is turned off by default. The connection time can be set from 2 to 255 seconds.
When set to 0, the short connection function is disabled.

b) Registration package: The registration package is closed by default. 4 options include: physical address when

connecting, send custom data when connecting, add physical address before each packet of data, add
custom data before each packet of data. The maximum data length for customize registration package is 40
bytes (when set to HEX format, the maximum length is 20 bytes)

c) Heartbeat packet: In the idle state of network communication, the heartbeat packet is used for network state

maintenance. The heartbeat period can be set from 0 to 65535 seconds, and the maximum length of the
heartbeat packet is 40 bytes (when set to HEX format, the maximum length is 20 bytes). Supports two types
of heartbeats, network heartbeat, serial heartbeat. User selects network heartbeat, starts timing when in
communication idle, and sends heartbeat packets to the server according to the configured heartbeat period.
User selects the serial port heartbeat, start timing when in communication idle, and send heartbeat packets to
the serial port according to the configured heartbeat period.

Clear the cache: Before the connection to the server is established, the data received by the serial port will

be cached. When the connection with the server is established, you can choose whether to clear the cached
data. By default, the cache is cleared.
The maximum packet length of the local cache is 256 bytes.

Содержание E840-TTL-GPRS03

Страница 1: ...0 E840 TTL GPRS03 User Manual 2G Wireless module...

Страница 2: ...BRIEF INTRODUCTION 2 1 2 PARAMETERS 3 1 3 INTERFACE DESCRIPTION 4 1 4 PIN DEFINITION 4 2 QUICK START 5 2 1 DEVICES PREPARATION 5 2 2 DATA TRANSMISSION TEST 6 2 2 1 Operating modes are as follows 7 3 N...

Страница 3: ...erial port caching function the serial port data can be cached locally before the connection is established with the server Maximum GPRS data downstream rate is 85 6kbps maximum upstream rate is 85 6k...

Страница 4: ...thentication Protocol protocols commonly used for PPP connections Support is usually used for CHAP Interrogation Handshake Authentication Protocol protocol Embedded protocol TCP UDP FTP PPP HTTP NTP M...

Страница 5: ...r indication pin when the network receives the data or the serial port receives the data 50ms high 10ms low corresponding to the onboard left 3LED light 6 STAT The device status indication pin corresp...

Страница 6: ...g to the recommended circuit before test 1 Enter the AT command mode and send in the serial port assistant does not need to check to send a new line other AT commands need to tick to send a new line t...

Страница 7: ...eturns OK the device restarts immediately Here the IP only performs the demonstration The actual connection is based on the IP of the server to be connected 5 After the base station is connected the N...

Страница 8: ...unction is enabled If there is no data reception in the serial port or network port within the set time the network connection will be automatically disconnected The short connection function is turne...

Страница 9: ...n function of the Ebyte cloud platform after the device is turned on the information such as the heartbeat and registration package configured by the user will be invalid The user only needs to set th...

Страница 10: ...ration package information HEX HEARTMOD Set query Heartbeat Packet mode HEARTINFO Set Query Customized Heartbeat Packet Information ASCII HEARTINFOEW Set query custom heartbeat packet information hexa...

Страница 11: ...CR LF Parameter None Description After the command is executed correctly the module is switched from command mode to transparent mode AT RESTORE Function Restore factory setting Format Set TX AT RESTO...

Страница 12: ...the module AT IMEI Function Query IMEI Format Query TX AT IMEI CR Return CR LF OK imei CR LF Parameter imei IMEI code AT LINKSTA Function Query whether TCP link is connected Format Query TX AT LINKSTA...

Страница 13: ...erver when the module is set to CLIENT port Server port number in decimal less than 65535 AT REGMOD Function Set the query registration package mechanism Format Query TX AT REGMOD CR return CR LF OK s...

Страница 14: ...is HEX the content must be a legal HEX format and the length must be an even number AT HEARTMOD Function Set query heartbeat packet mode Format Query TX AT HEARTMOD CR return CR LF OK mode CR LF Set...

Страница 15: ...conds AT SHORTM Function Set Query short connection time Format Query TX AT SHORTM CR return CR LF OK time CR LF Set TX AT SHORTM time CR return CR LF OK CR LF parameter time short connection time 0 o...

Страница 16: ...will actively disconnect the connection when the network or serial port has no data duration exceeding the short connection setting period After the disconnection the network cannot send data and the...

Страница 17: ...e environment to reduce the use of paper we only provide electronic documents of the English manual if necessary please go to our official website to download 9 Revision history Version Revision histo...

Отзывы: