background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E78-470LN22S User Manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

21

ERR+SENT message. During this period, if the transmission of the
response message is received, it is successful and the OK+SEND,
OK+SENT and OK+RECV messages are output.
Unconfirm type data:
The downlink response will not be requested after the data is sent, and the
OK+SEND, OK+SENT message will be returned at the end of each
transmission. If the downlink data is received, the OK+RECV message is
sent.
2

Data sending status prompt

OK+SEND: TX_LEN indicates that the data transmission request was
successful, TX_LEN: 1Byte, the length of the transmitted data
OK+SENT: TX_CNT indicates that the data transmission was successful,
TX_CNT: 1Byte, the number of data transmissions.
ERR+SEND: ERR_NUM indicates that the data transmission request failed
for the reason indicated by ERR_NUM.
ERR_NUM

1 Byte

0- Not in the network
1- Communication is busy, sending request failed
2- The data length exceeds the current transmittable length, and only the
MAC command is sent.
ERR+SENT: TX_CNT indicates that the data transmission failed, the
maximum number of transmissions has been reached, TX_CNT: 1 Byte,
and the number of data transmissions.
OK+RECV:TYPE,PORT,LEN,DATA Successful data reception (received
response message or active downlink data)
TYPE

1Byte

downstream transmission type

Bit0

0-unconfirm

1-confirm

Bit1

0-not ACK

1-ACK

Bit2

0-not carried, 1-carried, indicating whether link command response is

carried in downlink data
Bit30-not carried, 1-carried, indicating whether time command response is
carried in downstream data. Only when this bit is 1, time synchronization is
successful
Bit4~Bit7

default 0, reserved

PORT

1Byte

downstream transmission port

LEN

1Byte

downstream data length

DATA

nByte

downstream data

When len = 0, this field does not exist.

Example

AT+DTRX=1,2,10,0123456789
OK+SEND:03
OK+SENT:01
OK+RECV:02,01,00
Indicates that the confirm data is sent successfully. The valid data received
by the server should be "0123456789", and the downstream confirmation
has been received.

Summary of Contents for E78-470LN22S

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd E78 900M22S User manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd ASR6501Wireless Module E78 470LN22S...

Page 2: ...2 Parameter Description 3 2 Terms and definitions 5 3 Mechanical properties 6 3 1 E78 470LN22S Dimensions 6 3 2 Pin definition 6 3 3 Recommended connection diagram 7 4 LoraWan application model diagr...

Page 3: ...duction use modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited The information contained herein is provided...

Page 4: ...use the launch time is extremely short the total energy consumed may be smaller When the customer uses an external antenna the impedance matching degree between the antenna and the module at different...

Page 5: ...gdu Ebyte Electronic Technology Co Ltd E78 470LN22S User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 4 emissions for a number of reasons reduces the efficiency of the interna...

Page 6: ...mission of the server in a short time after the terminal uplink transmission The downstream transmission of the server at any other time has to wait for the next uplink of the terminal Two way transmi...

Page 7: ...y range 2 5 3 7v external ceramic filter capacitor is recommended 3 SETB Low power wake up pin 4 DIO1 Input output NC reserved pin 5 BUSY Input output NC reserved pin 6 I2C_SDA Input output NC reserve...

Page 8: ...UART TX pin 22 SWD_DATA Input output SWD Data pin 23 SWD_CLK Input output SWD Clock pin 24 GND Ground wire connected to power reference ground 25 SPI_MISO Input output SPI MISO test point internally...

Page 9: ...tem consists of node gateway Lora NetWork Server application server the node is generally designed by LORA chip the gateway is designed by SX1301 provided by semtech Lora NetWork Server now has open s...

Page 10: ...gy Co Ltd 9 5 Access demo The demonstration kit is E78 470LN22S as a node E890 as a gateway to access the free TTN TheThingsNetwork test server for communication test node side OTAA access mode corres...

Page 11: ...Technology Co Ltd E78 470LN22S User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 10 The access example in the transparent transmission mode is as follows App server receives...

Page 12: ...Ltd E78 470LN22S User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 11 Note For the TTN creation device and corresponding configuration process please refer to LORAWAN Node Gat...

Page 13: ...when entering the network CJOINMODE Set the read join mode OTAA ABP CDEVEUI Set to read DevEUI OTAA when entering the network CAPPEUI Set to read AppEUI OTAA when entering the network CAPPKEY Set to...

Page 14: ...Restore default configuration IREBOOT System reset CLPM System low power settings ECHO Serial command echo configuration Command character Command Type Command Format response CGMI Read the manufactu...

Page 15: ...T CGSN CGSN sn OK Parameter Description sn Product serial number identifier Return value description Example AT CGSN CGSN 0539349E00032523 OK Precautions Command character Command Type Command Format...

Page 16: ...UI CDEVEUI value OK Setting command AT CDEVEUI mode OK Parameter Description mode Node DevEUI Return value description Example AT CDEVEUI CDEVEUI AABBCCDD00112233 OK Precautions Set or read DevEUI ret...

Page 17: ...character Command Type Command Format response CDEVADDR Set DevAddr Test command AT CDEVADDR CDEVADDR DevAddr length is 8 Device address of ABP mode Query command AT CDEVADDR CDEVADDR value OK Settin...

Page 18: ...n Y1Y2 Y16 hexadecimal format and take 16 bytes CFREQBANDM ASK Set the band mask Command Type Command Format response Test command AT CFREQBANDMASK CFREQBANDMASK mask OK Query command AT CFREQBANDMASK...

Page 19: ...T CWORKMODE mode OK Parameter Description mode 2 Normal operation mode Return value description Example AT CWORKMODE 2 OK Precautions It needs to be set before joining and the default is normal workin...

Page 20: ...K Example Query the current status of the device Command character Command Type Command Format response CJOIN Set Join Test command AT CJOIN CJOIN ParaTag1 ParaTag2 Para Tag4 OK Query command AT CJOIN...

Page 21: ...ngth Pay load OK Setting command AT DTRX confirm nbtrials Length Payload OK SEND TX_LEN OK SENT TX_CN OK SEND TX_LEN OK SENT TX_CNT OK RECV TYPE PORT LEN DATA ERR SEND ERR_NUM ERR SENT TX_CNT Paramete...

Page 22: ...ication is busy sending request failed 2 The data length exceeds the current transmittable length and only the MAC command is sent ERR SENT TX_CNT indicates that the data transmission failed the maxim...

Page 23: ...H MODE Transparent transmission mode Test command AT CPASSTHOUGHMODE CPASSTHOUGHMODE mode confi rm nbtrials Set command AT CPASSTHOUGHMODE mode confirm nbtrials OK Parameter Description When mode is 1...

Page 24: ...transparent transmission mode It needs to wait for the server to respond or send timeout before sending hex 2B 2B 2B to exit the transparent transmission mode 3 Before entering the transparent transm...

Page 25: ...Format response CDATARATE Set the communication rate Test command AT CDATARATE CDATARATE value OK Query command AT CDATARATE CDATARATE value OK Setting command AT CDATARATE value OK Parameter Descript...

Page 26: ...RIALS CNBTRIALS MType value OK Setting command AT CNBTRIALS MType value OK Parameter Description MType 0 unconfirm 1 confirm value the maximum number of times to send value range 1 15 Return value des...

Page 27: ...CTXP Set the transmit power Test command AT CTXP CTXP value OK Query command AT CTXP CTXP value OK Setting command AT CTXP value OK Parameter Description is the transmission power size the factory val...

Page 28: ...K CLINKCHECK 0 0 1 68 8 Precautions Need to set before sending data Command character Command Type Command Format response CADR Set send times Test command AT CADR CADR value OK Query command AT CADR...

Page 29: ...n Example AT CRX1DELAY 2 OK Precautions Set how long the rx1 window will open after sending and set before sending data It is the protocol default value when not set Command character Command Type Com...

Page 30: ...BOOT 1 OK Precautions After receiving the instruction the communication module will reply to OK and restart the communication module No further AT commands are received until the restart is complete C...

Page 31: ...ruction echo command OK Setting command AT ECHO mode OK Parameter Description mode command echo 0 The instruction turns off the echo 1 The command turns on echo Return value description Example AT ECH...

Page 32: ...ansmitting power is Due to antenna quality or poor matching between antenna and module 7 2 Module is easy to damage Please check the power supply to ensure that it is within the recommended value If i...

Page 33: ...tion optimization Linson 1 4 2021 3 31 Add transparent transmission mode Description optimization Glhuar 1 5 2021 4 16 Modification instructions on CRESTORE command Gluhar 10 About us Technical suppor...

Reviews: