Ebyte E840-TTL-GPRS03 User Manual Download Page 16

Chengdu ebyte electronic Technology Co.,Ltd.

E840-TTL-GPRS03 User Manual

Copyright ©2012–2017

Chengdu ebyte electronic Technology Co.,Ltd.

15

AT+CREG

Function

Check if it is registered to the carrier.

Format

Set

TX AT+CREG<CR><LF>
Return <CR><LF>+OK=<creg><CR><LF>

Parameter

creg
1

Network registered

2

Network not registered

Description

None

AT+CPIN

Function

Query SIM status

Format

Set

TX AT+CPIN<CR><LF>

return <CR><LF>+OK=<cpin><CR><LF>

Parameter

cpin
1 SIM card detected
0 SIM card not detected

Description

None

7. Notes

The Socket link of this module will always be opened. After the initialization is successful, it will automatically

establish a connection with the configured network server.

After the module is powered on, it cannot be initialized successfully. That is, the State indicator has no indication

for more than 30 seconds. In this case, check whether the module is installed properly, whether the SIM card is
properly inserted, and whether the SIM has failed.

Short connection can be used to reduce the connection pressure of multiple devices to the server. When the short

connection function is enabled (AT+SHORTM>2), the module 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 local serial port sends valid data, the module will
immediately establish a connection with the server. If the local clear cache function is turned off, the packet will
be cached (maximum 10K bytes). After the connection is successful, the data will be sent to the server. The
local cache function is cleared and the packet will be discarded.

The heartbeat function is used to maintain the connection after the module and the server are successfully

connected. In the network, if the client and the network server successfully establish a connection and there is
no data transmission for a long time, the Socket link may appear “dead”, that is, the chain exists but cannot
send and receive data. Therefore, in actual use, it is recommended to enable the heartbeat packet function to
ensure the reliability of the network link.

In actual use, it is normal for the data delay of the two communications to be different.

When the device serial port outputs the words “pdp error, device will be reset!”, it indicates that the PDP context is

disabled by the network. The SIM card may be loose or the current network channel is occupied abnormally.

Summary of Contents for E840-TTL-GPRS03

Page 1: ...0 E840 TTL GPRS03 User Manual 2G Wireless module...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: