0% found this document useful (0 votes)
211 views28 pages

E78-900M22S Usermanual EN v1.3

Uploaded by

navivoc270
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
211 views28 pages

E78-900M22S Usermanual EN v1.3

Uploaded by

navivoc270
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Chengdu Ebyte Electronic Technology Co., Ltd.

E78-900M22S User manual

E78-900M22S User Manual


LoRaWAN Wireless Module

Copyright ©2012–2019,成都亿佰特电子科技有限公司 1
E78-900M22S

Content
1. OVERVIEW.............................................................................................................................................................................................3
1.1 MAIN PARAMETER.......................................................................................................................................................... 3
1.2 PARAMETER DESCRIPTION.............................................................................................................................................3
2. TERMS AND DEFINITIONS................................................................................................................................................................. 4
3. MECHANICAL PROPERTIES............................................................................................................................................................... 5
3.1 E78-900M22S DIMENSIONS..........................................................................................................................................5
3.2 PIN DEFINITION.............................................................................................................................................................. 5
3.3 RECOMMENDED CONNECTION DIAGRAM....................................................................................................................... 6
4. LORAWAN APPLICATION MODEL DIAGRAM................................................................................................................................ 7
5. ACCESS DEMO...................................................................................................................................................................................... 8
6. AT COMMAND.....................................................................................................................................................................................10
7. FAQ........................................................................................................................................................................................................ 27
7.1 COMMUNICATION RANGE IS TOO SHORT......................................................................................................................27
7.2 MODULE IS EASY TO DAMAGE.....................................................................................................................................27
8. IMPORTANT STATEMENT................................................................................................................................................................. 27
9. REVISION HISTORY........................................................................................................................................................................... 28
10. ABOUT US.......................................................................................................................................................................................... 28

2
E78-900M22S

1. Overview
E78-900M22S is a standard LoraWan node module designed and
manufactured by Chengdu Ebyte Electronic Technology Co., Ltd., working
frequency band EU863~870MMHZ, supports CLASS-A/CLASS-C node type,
supports ABP/OTAA two network access modes, and at the same time, this
module With a variety of low-power modes, the external communication
interface uses a standard UART. Users can easily access the standard LoraWan
network through AT commands, making it an excellent choice for IoT
applications.

1.1 main parameter


Product working Working Storage
Core IC Size Net weight
model temperature humidity temperature
E78-900M22S ASR6501 20* 14*2.8 mm 1.3±0.1g -40 ~ 85℃ 10% ~ 90% -40 ~ 125°C

1.2 Parameter Description


 When designing the power supply circuit for the module, it is recommended to reserve more than 30% of the
remaining amount, and the whole machine is conducive to long-term stable operation;

 The current required for the instant of launch is large but often because 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 frequency points will affect the magnitude of the emission current to varying degrees;

 The current consumed by the RF chip in the pure receiving state is called the receiving current. Some RF chips
with communication protocols or developers have loaded some self-developed protocols on the whole machine,
which may cause the receiving current of the test to be too large;

 The current in the purely receiving state is often mA level, and the "receiving current" of the μA level needs to be
processed by the developer through software;

 The shutdown current is often much smaller than the current consumed by the power supply part of the whole
machine at no load, without being overly demanding;

 Since the material itself has a certain error, a single LRC component has an error of ±0.1%. However, since a
plurality of LRC components are used in the entire RF loop, there is a case where error accumulation occurs,
resulting in a difference in emission current and reception current of different modules;

 Reducing the transmit power can reduce power consumption to some extent, but reducing the transmit power
emissions for a number of reasons reduces the efficiency of the internal PA.

3
Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual

2. Terms and definitions

2.1 LoRa
LoRa is one of the LPWAN communication technologies, the full name is Long Range Radio, which means “long-range
radio” in Chinese; the company that currently dominates the technology is the foreign semtech company;
LoRa's main ISM brand is available worldwide for free bands: 433MHz, 470MHz, 868MHz, 915MHz, etc.
Features: Low power consumption, long distance, low cost.

2.2 LoRaWAN
The LoRa Alliance is an open, non-profit organization led by Semtech in March 2015. The Alliance publishes a
low-power WAN standard based on the open source MAC layer protocol: the LoRaWAN protocol standard.
Network topology: star structure
Network composition: LoRa module, gateway (Gateway or base station), Server (including Network Server, Network
control, Application Server).
LoRaWAN divides the LoRa nodes into three categories: A/B/C:

 Two-way transmission terminal(Class A):

Class A's terminal will follow two short downlink receiving windows after each uplink to achieve two-way
transmission. The terminal arranges transmission time slots based on its own communication requirements, with a small
change on the basis of random time (ie, ALOHA protocol). This Class A operation provides the lowest power
consumption end system for the application, and only requires the application to perform downlink transmission 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 transmission terminal delineating a reception slot(Class B):

Class B terminals have more receive slots. In addition to Class A's random receive window, Class B devices also
open other receive windows at the specified time. In order for the terminal to open the receiving window at a specified
time, the terminal needs to receive a time-synchronized beacon (Beacon) from the gateway. This allows the server to
know when the terminal is listening.

 Two-way transmission terminal that maximizes the reception slot (Class C):

The terminal of Class C basically keeps the receiving window open, and only closes briefly when sending. Class C
terminals consume more power than Class A and Class B, but the delay from the server to the terminal is also the
shortest.
Note: The E78-470LN22S supports both Class A and Class C device types.

2.1.3 ADR

ADR Chinese is called adaptive data rate. In the loraWan network system, in order to maximize the battery life and
overall network capacity of the terminal device, the LoRaWAN network server separately manages the data rate and RF
output of each terminal device through an adaptive data rate (ADR) algorithm, through ADR technology, In the
LORAWAN system, the server automatically updates the rate of setting the node according to the signal receiving
capability of the node. The distance is far, the rate is low, and the distance is high, so the actual bandwidth greatly
improves the effective bandwidth and load capacity of the network.

Copyright ©2012–2019,成都亿佰特电子科技有限公司 4
E78-900M22S

3. Mechanical properties

3.1 E78-900M22S Dimensions

3.2 Pin definition

No. Name Direction Function


Ground wire, connected to the power reference
1 GND
ground
Power supply, range 2.5-3.7v (external ceramic filter
2 VCC
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 (reserved pin)
7 I2C_SCL Input/output NC (reserved pin)
8 UART_CTS Input/output NC (reserved pin)
9 UART_RTS Input/output NC (reserved pin)
10 GND Ground wire, connected to the power reference

5
E78-900M22S

ground
Antenna interface, stamp hole (50 ohm characteristic
11 ANT
impedance)
Ground wire, connected to the power reference
12 GND
ground
Ground wire, connected to the power reference
13 GND
ground
Ground wire, connected to the power reference
14 GND
ground
Ground wire, connected to the power reference
15 GND
ground
16 XRES Input External reset pins
17 ADC_IN Input NC (reserved pin)
18 AUX Input/output NC (reserved pin)
19 SETA Input/output NC (reserved pin)
20 UART_RX Input/output UART RX pin
21 UART_TX Input/output UART TX pin
22 SWD_DATA Input/output SWD Data pin
23 SWD_CLK Input/output SWD Clock pin
Ground wire, connected to the power reference
24 GND
ground
SPI MISO test point, internally connected, cannot be
25 SPI_MISO Input/output
used as external SPI
SPI NSS test point, internally connected, cannot be
26 SPI_NSS Input/output
used as an external SPI
SPI MOSI test point, internally connected, cannot be
27 SPI_MOSI Input/output
used as an external SPI
SPI SCK test point, internally connected, cannot be
28 SPI_SCK Input/output
used as external SPI
★ For the pin definition, software driver and communication protocol of the module, please refer to ASR
official《ASR6501 Datasheet》 ★

3.3 Recommended connection diagram

6
Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual

4. LoraWan application model diagram

The complete LoraWan network system 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 source loraserver or commercial TTN (The ThingsNetwork), users can build their own; application
server is designed and developed by users, mainly used for data exchange with Lora NetWork Server applications.

Copyright ©2012–2019,成都亿佰特电子科技有限公司 7
Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual

5. Access demo
The demonstration kit is: E78-900M22S as a node, E890 as a gateway to access the free TTN (TheThingsNetwork) test server for
communication test; node-side OTAA access mode corresponding settings are as follows:

On the TTN, the gateway data record is as follows:

The TTN node data record is as follows:

Copyright ©2012–2019,成都亿佰特电子科技有限公司 8
E78-900M22S

Note: For the TTN creation device and corresponding configuration process, please refer to 《LORAWAN Node +
Gateway TTN Server Configuration Tutorial》

9
Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual

6. AT command
a) Command format:
<CMD>[op][ para1, para2, para3,…]<CR><LF>
:Command prefix
CMD:Control command
[op]:Command operator。Can be the following:
 “=”:indicates the parameter setting.
 “?”:Indicates the current value of the query parameter.
 “”:indicates the execution of the command.
 “=?”:Indicates the parameters of the query setting instruction.
[para-n]:Indicates the set parameter value or specifies the parameter to be queried.。
<CR><LF>:Enter to change lines,ASCII 0x0D 0x0A
Command Description (general order)
CGMI Read the manufacturer's logo
CGMM Read module identification
CGMR Read version identifier
CGSN Read product serial number identifier
CGBR Set the baud rate of the UART
CJOINMODE Set the read join mode (OTAA, ABP)
CDEVEUI Set to read DevEUI (OTAA 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 read AppKey (OTAA when entering the network)
CDEVADDR Set to read DevAddr (ABP when entering the network)
CAPPSKEY Set to read AppSkey (ABP when accessing the network)
CNWKSKEY Set to read NwkSkey (ABP when accessing the network)
CFREQBANDMASK Set the read frequency mask (FreqBandMask)
Set to read the Ul/Dl mode (same frequency or different
CULDLMODE
frequency)
CWORKMODE Set the read working mode (normal working mode)
CCLASS Set the read class type (Class A/C)
CBL Read battery level
CSTATUS Read node status
CJOIN Initiate OTAA access to the network
DTRX Send and receive data frames
DRX Get the latest received data from Rx buffer and empty Rx buffer
Command Description (MAC related configuration command)
CCONFIRM Set the type of read send message (confirm or unconfirm)
CAPPPORT Set the read application layer port
CDATARATE Set the read data rate

Copyright ©2012–2019,成都亿佰特电子科技有限公司 10
E78-900M22S

CRSSI Get the RSSI value of the channel


CNBTRIALS Set the read NbTrans parameter
CRM Set the read report mode
CTXP Set the read transmit power
CLINKCHECK Enable Link check
CADR Enable or disable ADR
CRXP Set the read receive window parameters
CRX1DELAY Set the delay to read TX and RX1
CSAVE Save configuration
CRESTOREMAC Restore default configuration
IREBOOT System reset
CLPM System low power settings
ECHO Serial command echo configuration

Command Command
Command Format response
character Type
Query +CGMI=<manufacturer>
AT+CGMI?
command OK
Parameter
Description <manufacturer>: Manufacturer identification
CGMI
Return value
(Read the
description
manufacturer's
AT+CGMI?
logo )
+CGMI=Ebyte
Example
OK

Precautions
Command Command
Command Format response
character Type
Query +CGMM=<model>
AT+CGMM?
command OK
Parameter
Description
<model>: module identification
CGMM Return value
(Read module description
identification) AT+CGMM?
Example +CGMM=E78-470LN22S
OK

Precautions

Command Command
Command Format response
character Type
CGMR Query AT+CGMR? +CGMR=<revision>

11
E78-900M22S

(Read version command OK


identifier) Parameter
Description
<revision>: version number
Return value
description
AT+CGMR?
Example +CGMR=V4.1
OK
Precautions
Command Command
Command Format response
character Type
Query +CGSN=<sn>
AT+CGSN?
command OK
Parameter
CGSN Description
<sn>: Product serial number identifier
(Read product Return value
serial number description
identifier) AT+CGSN?
Example +CGSN=0539349E00032523
OK
Precautions
Command Command
Command Format response
character Type
Query +CGBR=<baud>
AT+CGBR?
command OK
Setting
AT+CGBR=<baud> OK
command
Parameter
CGBR
Description
(Set baud rate) <baud>: baud rate
Return value
description
AT+CGBR=9600
Example
OK
Precautions Baud range:1200~460800bps
Command Command
Command Format response
character Type
Test AT+CJOINMODE=? +CJOINMODE:“mode”
command OK
CJOINMODE Query +CJOINMODE:<mode>
AT+CJOINMODE?
(Set the Join command OK
mode) Setting
AT+CJOINMODE=<mode> OK
command
Parameter <mode>:Node Join mode

12
E78-900M22S

Description 0:OTAA
Return value 1:ABP
description
AT+CJOINMODE=0
Example
OK
Different mode nodes have different network access modes. ABP should use
Precautions
this command before sending data.
Command Command
Command Format response
character Type
Test AT+CDEVEUI=?
+CDEVEUI=<DevEUI:length is 16>
command
Query +CDEVEUI:<value>
AT+CDEVEUI?
command OK
Setting
AT+CDEVEUI=<mode> OK
command
Parameter
CDEVEUI
Description
(Set DevEUI) <mode>:Node DevEUI
Return value
description
AT+CDEVEUI?
Example +CDEVEUI=AABBCCDD00112233
OK
Set or read DevEUI, return Y1Y2...Y8, hexadecimal format, and take 8
Precautions
bytes.
Command Command
Command Format response
character Type
Test
AT+CAPPEUI=? +CAPPEUI=<AppEUI:length is 16>
command
Query +CAPPEUI:<value>
AT+CAPPEUI?
command OK
Setting
AT+CAPPEUI=<value> OK
command
CAPPEUI Parameter
(Set AppEUI) Description <value>: Node AppEUI
Return value
description
AT+CAPPEUI=AABBCCDD00112233
Example
OK
Used in OTAA, set or read AppEUI, return Y1Y2...Y8, hexadecimal format,
Precautions
and take 8 bytes.
Command Command
Command Format response
character Type
CAPPKEY Test AT+CAPPKEY=? +CAPPKEY=<AppKey:length is 32>

13
E78-900M22S

(Set AppKey) command


Query + CAPPKEY:<value>
AT+CAPPKEY?
command OK
Setting
AT+CAPPKEY =<value> OK
command
Parameter
Description <value>: Node AppEUI
Return value
description
AT+CAPPKEY=AABBCCDD00112233AABBCCDD00112233
Example OK

Used in OTAA, set or read AppKey, return Y1Y2...Y16, hexadecimal


Precautions
format, and take 16 bytes.
Command Command
Command Format response
character Type
Test AT+CDEVADDR=? +CDEVADDR=<DevAddr:length is 8,
command Device address of ABP mode>
Query +CDEVADDR:<value>
AT+CDEVADDR?
command OK
Setting
AT+CDEVADDR =<value> OK
command
CDEVADDR Parameter
(Set DevAddr) Description
<value>:Node DevAddr
Return value
description
AT+CDEVADDR=00112233
Example
OK
Used in ABP, set or read DevAddr, return Y1Y2...Y4, hexadecimal format,
Precautions
and take 4 bytes.
Command Command
Command Format response
character Type
Test AT+CAPPSKEY=?
+CAPPSKEY=<AppSKey:length is 32>
command
CAPPSKEY Query AT+CAPPSKEY=<value> +CAPPSKEY:<value>
(Set AppSKey) command OK
Setting
AT+CDEVADDR =<value> OK
command
Parameter
Description <value>:Node AppSKey
Return value
description
Example AT+CAPPSKEY=AABBCCDD00112233AABBCCDD00112233

14
E78-900M22S

OK
Used in ABP, set or read AppSKey, return Y1Y2...Y16, hexadecimal
Precautions
format, which takes 16 bytes.
Command Command
Command Format response
character Type
Test AT+CNWKSKEY=? +CNWKSKEY =<NwkSKey:length is
command 32>
Query AT+CNWKSKEY? +CNWKSKEY:<value>
command OK
Setting
AT+CNWKSKEY=<value> OK
command
CNWKSKEY Parameter
(Set NwkSKey) Description
<value>: Node NwkSKey
Return value
description
AT+CNWKSKEY=AABBCCDD00112233AABBCCDD00112233
Example
OK
Used in ABP, set or read NwkSKey, return Y1Y2...Y16, hexadecimal
Precautions
format, and take 16 bytes.
Command
Command Format response
Type
Test +CFREQBANDMASK:“mask”
AT+CFREQBANDMASK=?
command OK
Query +CFREQBANDMASK:<mask>
AT+CFREQBANDMASK?
command OK
CFREQBANDM Setting AT+CFREQBANDMASK=<m
OK
ASK command ask>
(Set the band Parameter <mask>: The frequency point mask that the network may work, 16 bits
mask) Description corresponds to 16 frequency groups. See LoRaWAN access specification
for details.
Return value
For example: 0-7 channel, the corresponding mask is 0001, the
description
corresponding mask of channel 8-15 is 0002, and so on.
AT+CFREQBANDMASK=0001
Example
OK
Precautions Need to set before Join.
Command Command
Command Format response
character Type
Test AT+CULDLMODE=? +CULDLMODE:“mode”
CULDLMODE
command OK
(Set upstream
Query AT+CULDLMODE? +CULDLMODE:<mode>
and downstream
command OK
same/different
Setting
frequency) AT+CULDLMODE=<mode> OK
command

15
E78-900M22S

Parameter
<mode>:
Description
1:Same frequency mode
Return value
2:Different frequency mode
description
AT+CULDLMODE=2
Example
OK
Precautions Set before Join
Command Command
Command Format response
character Type
Test AT+CWORKMODE=? +CWORKMODE:“mode”
command OK
Query AT+CWORKMODE? +CWORKMODE:<mode>
command OK
Setting
AT+CWORKMODE=<mode> OK
command
CWORKMODE
Parameter
(Set working
Description <mode>:
mode)
Return value 2:Normal operation mode
description
AT+CWORKMODE=2
Example
OK
It needs to be set before joining, and the default is normal working mode
Precautions
Currently only normal operation mode is supported
Command Command
Command Format response
character Type
+CCLASS:“class”,“branch”,“para1”,“pa
Test AT+CCLASS=? ra2”,
command “para3” ,“para4”
OK
Query AT+CCLASS? +CCLASS:<class>
command OK
Setting
CCLASS AT+CCLASS=<class> OK
command
(Set Class)
Parameter
<class>:
Description
0:classA
Return value
2:classC
description
AT+CCLASS=2
Example
OK
Precautions Need to be set before Join, the default is classA
Command Command
Command Format response
character Type
CSTAUS Test AT+CSTAUS=? +CSTATUS:”status”

16
E78-900M22S

( Query the command OK


current status of +CSTATUS:<status>
Query AT+CSTATUS?
the device ) OK
command

Setting <status>:
command 00 – No data operation
01 – Data transmission
02 – Data transmission failed
03 – Data sent successfully
Parameter 04 – JOIN succeeded (only in the first JOIN process)
Description 05 – JOIN failed (only in the first JOIN process)
06 – The network may be abnormal (Link Check result)
07 – Successful data transmission, no downstream
08 – Send data successfully, with downstream
AT+CSTATUS?
Return value
+CSTATUS=03
description
OK
Example Query the current status of the device
Command Command
Command Format response
character Type
+CJOIN:<ParaTag1>,[ParaTag2],…[Para
Test AT+CJOIN=? Tag4
command ]
OK
+CJOIN:<ParaValue1>,[ParaValue2],…[
Query AT+CJOIN? Para
command Value4]
OK
If the input is legal, first return OK, then
AT+CJOIN=<ParaValue1>, start automatic authentication and return
Setting
[ParaValue2],…. the authentication result.
command
CJOIN [ParaValue4] +CJOIN:OK Authentication succeeded
(Set Join) +CJOIN: FAIL authentication failed
Parameter <ParaTag1>, [ParaTag2],……[ParaTag4]:Authentication parameter tag:
Description 1, 2,……4 ;
[ParaValue1], [ParaValue2],……[ParaValue4]:Authentication parameter
value: 1, 2,……4;
<ParaTag1>, indicates that the JOIN operation is performed, ,ParaTag1
Ranges:
Return value
0– stop JOIN
description
1– start JOIN,Restart the JOIN process again. For modules that enable hot
start, performing this action clears the saved JOIN context parameters.
[ParaTag2] Indicates whether the automatic JOIN function is enabled.The
factory value is 1, ParaTag2 value range:

17
E78-900M22S

0 – turn off automatic JOIN


1 – The automatic JOIN. module automatically starts JOIN after entering
the transparent mode.

[ParaTag3]indicates the JOIN period,Range of values:7~255, The unit is s.


Factory default: 8。

[paratag4] indicates the maximum number of join attempts. Paratag4 value


range: 1-255
AT+CJOIN=1,1,10,8(Set the join parameter: enable automatic join, the join
cycle is 10s, and the maximum number of attempts is 8)
Example
OK
+CJOIN:OK
Precautions Set before Join.
Command Command
Command Format response
character Type
+DTRX:[confirm],[nbtrials],<Length>,<
Pay
Test AT+DTRX=?
load>
command
OK

OK+SEND:TX_LEN
AT+DTRX=[confirm],
OK+SENT:TX_CNT
[nbtrials],<Length>,
Setting OK+RECV:TYPE,PORT,LEN,DATA
<Payload>
command 或者
OK+SEND:TX_LEN
ERR+SEND:ERR_NUM
OK+SENT:TX_CN
ERR+SENT:TX_CNT
Parameter Confirm and nbtrials refer to the corresponding AT command, which is
Description valid only for this transmission, optional.
DTRX
Length:indicates the number of strings; the maximum value is described in
(Send and
the access specification; the byte lengths allowed to be transmitted at
receive data)
different rates are different (see LoRaWan protocol for details), and 0
indicates that empty packets are sent.
Payloadhexadecimal (2 characters for 1 number);
Return value:
1、 How to judge whether the data transmission is successful?
Return value
Confirm type data:
description
Each time a frame of data is sent, there should be a corresponding response
message. When the module fails to receive the response message, if it does
not reach the maximum number, it will retry again. If the downlink
message is not received after the maximum number of times is reached, it
is a failure and output.
ERR+SENT message. During this period, if the transmission of the
response message is received, it is successful and the OK+SEND,

18
E78-900M22S

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.
AT+DTRX=1,2,10,0123456789
OK+SEND:03
OK+SENT:01
OK+RECV:02,01,00
Example
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.

Precautions Enter the network first, then send data

19
E78-900M22S

Command Command
Command Format response
character Type
Test +DRX:<Length>,<Payload>
AT+DRX=?
command OK
Query AT+DRX? +DRX:<Length>,<Payload>
command OK
Parameter Return value:
DRX
Description Length: 0 means empty packet;
(Receive data)
Return value Payload:Hexadecimal string data;
description Ono exception in receiving data packet;
AT+DRX?
Example
OK
Precautions Receive packets from the receive buffer and clear the receive buffer;
Command Command
Command Format response
character Type
Test +CCONFIRM:“value”
AT+CCONFIRM=?
command OK
Query +DRX:<Length>,<Payload>
AT+CCONFIRM?
command OK
Setting
CCONFIRM AT+CCONFIRM =<value> OK
command
(Set upstream
Parameter
transmission <value>: as follows:
Description
type) 0: UnConfirmed up message
Return value
1: Confirmed up message
description
AT+CCONFIRM=1
Example
OK
Precautions Need to set before sending data
Command Command
Command Format response
character Type
Test +CAPPPORT:“value”
AT+CAPPPORT=?
command OK
Query +CAPPPORT:<value>
AT+CAPPPORT?
command OK
Setting
CAPPPORT AT+CAPPPORT=<value> OK
command
(Set the
Parameter <value>: as follows:
upstream data
Description The port used, the data format is decimal, the factory value is 10.
port number)
Return value Value range: 1~223;
description Note: Port: 0x00 is the MAC command of LoRaWAN
AT+CAPPPORT=10
Example
OK
Precautions Need to set before sending data

20
E78-900M22S

Command Command
Command Format response
character Type
Test +CDATARATE:“value”
AT+CDATARATE=?
command OK
Query +CDATARATE:<value>
AT+CDATARATE?
command OK
Setting
AT+CDATARATE =<value> OK
command
Parameter <value>: as follows:
CDATARATE
Description Rate value, the factory value is 3, the value range:
(Set the
0 - SF12, BW125
communication
1 - SF11, BW125
rate)
Return value 2 - SF10, BW125
description 3 - SF9, BW125
4 - SF8, BW125
5 - SF7, BW125
AT+CDATARATE=1
Example
OK
Precautions Need to be set before sending data, invalid after ADR is enabled.
Command Command
Command Format response
character Type
Test +CRSSI
AT+CRSSI=?
command OK
+CRSSI:
0:<Channel 0 rssi>
1:<Channel 1 rssi>
Query AT+CRSSI FREQBANDIDX?

command
7:<Channel 7 rssi>
OK

Setting
<FREQBANDIDX>: Indicates the number of the frequency band, starting
CRSSI command
from 0, and the 1A2 group number is 1
(Query channel Return value
Returns the RSSI of 8 channels in a band.
signal strength) description
AT+CRSSI 1?
+CRSSI:
0:-157
1:-157
2:-157
Example
3:-157
4:-157
5:-157
6:-157
7:-157

21
E78-900M22S

OK
Precautions
Command Command
Command Format response
character Type
Test AT+CNBTRIALS=? +CNBTRIALS: “MType”,“value”
command OK
Query AT+CNBTRIALS? +CNBTRIALS:<MType>,<value>
command OK
AT+CNBTRIALS=<MType>,
Setting
<value> OK
command
CNBTRIALS
(Set the number Parameter
of times to send) Description <MType>:0:unconfirm 包, 1:confirm 包。
Return value <value>:the maximum number of times to send, value range: 1~15;
description
AT+CNBTRIALS=1,2
Example OK

Precautions Need to set before sending data


Command Command
Command Format response
character Type
+CRM:“reportMode”,”reportInterval”
Test AT+CRM=?
OK
command

Query AT+CRM? +CTXP:<reportMode>,[reportInterval]


command OK
AT+CTXP=<reportMode>,[re
Setting portInterval]
OK
command

Parameter <reportMode>:
CRM Description 0- acyclic reporting data;
(Set reporting 1- Periodic reporting of data;
mode) <reportInterval>: This parameter is only available when data is reported
periodically. Time interval of periodic report data, unit: s.For different Dr's,
the minimum period allowed is different. The definition of period level is
adopted, as shown in the following table.
Return value Rate\cycle(s)\level LV1 LV2
description DR0 150 300
DR1 75 150
DR2 35 70
DR3 15 30
DR4 10 20
DR5 5 10

22
E78-900M22S

AT+CRM=1,10
Example
OK
Precautions Need to set before sending data
Command Command
Command Format response
character Type
Test AT+CTXP=? +CTXP:“value”
command OK
Query AT+CTXP? +CTXP:<value>
command OK
Setting
AT+CTXP=<value> OK
command
Parameter <is the transmission power size, the factory value is 0.
Description 0 - 17dBm
CTXP 1 - 15dBm
(Set the transmit 2 - 13dBm
power) 3 - 11dBm
Return value 4 - 9dBm
description 5 - 7dBm
6 - 5dBm
7 - 3dBm

AT+CTXP=1
Example
OK
Precautions Need to set before sending data
Command Command
Command Format response
character Type
CLINKCHECK
Test +CLINKCHECK:“value”
(Verify network AT+CLINKCHECK=?
command OK
connectivity)
Setting AT+CLINKCHECK=<value>
OK
command
Parameter <value>: Enable control for Link Check
Description 0 – Link Check is not enabled
1 – Perform a Link Check
2 - The module automatically carries the linkcheck command in each
upstream packet.
Return OK, the setting is successful.
If X1=1, after waiting for a while, it will return the second response
Return value
message in the following format:
description
+CLINKCHECK:Y0, Y1, Y2, Y3, Y4
 YO indicates the Link Check result:
 0 - indicates that the Link Check is successfully executed.
 Not 0 - indicates that the Link Check execution failed.
Y1 is DemodMargin

23
E78-900M22S

Y2 is NbGateways
Y3 is the downstream RSSI
Y4 is the downstream SNR
AT+CLINKCHECK=1
OK
Example
+CLINKCHECK: 0, 0, 1, -68, 8

Precautions Need to set before sending data


Command Command
Command Format response
character Type
+CRXP:“RX1DRoffest”,”RX2DataRate
Test AT+CRXP=? ”,”RX2Frequency
command ”
OK
+CRXP:<RX1DRoffest>,<RX2DataRate
Setting AT+CRXP? >,<RX2Frequency>
command OK

CRXP
AT+CRXP=<RX1DRoffest>,<
(Set the receive Parameter
RX2DataRate>,<RX2Frequen OK
window Description
cy>
parameters)
Return value <RX1DRoffest>,<RX2DataRate>,<RX2Frequency>详见 LoRaWAN 协
description 议。
Example
AT+CRXP=1,1,471000000
Precautions OK

Test
Need to be set before sending data. Use the default value when not setting.
command
Command Command
Command Format response
character Type
+CRX1DELAY:“Delay”
Test AT+CRX1DELAY=?
OK
command

Query AT+CRX1DELAY? +CRX1DELAY:<Delay>


command OK
CRX1DELAY
Setting AT+CRX1DELAY=<Delay>
(Set the number OK
command
of times sent)
Parameter
Description
Delay: how long to open rx1 window after sending, unit: s;
Return value
description
Example AT+CRX1DELAY=2

24
E78-900M22S

OK
Set how long the rx1 window will open after sending, and set before
Precautions
sending data. It is the protocol default value when not set.
Command Command
Command Format response
character Type
Test +CSAVE
AT+CSAVE=?
command OK
Setting AT+CSAVE
OK
command
CSAVE Parameter
(Save MAC Description <MType>: 0: unconfirm package, 1: confirm package.
parameter Return value <value>: is the maximum number of transmissions, ranging from 1 to 15;
settings) description
This command saves the configuration parameters to EERPOM/FLASH
Example After executing the AT+RESET command, the module will use the new
MAC configuration parameters for network initialization and operation.
Precautions Need to save before sending data
Command Command
Command Format response
character Type
Test AT+CRESTOREMAC=? +CRESTOREMAC
command OK
Setting
AT+CRESTOREMAC OK
command
CRESTOREMAC Parameter
(Restore MAC Description This command restores the MAC default configuration parameters to
default Return value EERPOM/FLASH.
parameters) description
AT+CRESTOREMAC
Example OK

Precautions
Command Command
Command Format response
character Type
Test AT+IREBOOT=? +IREBOOT:"Mode"
command OK
Setting AT+IREBOOT=<mode>
OK
command
IREBOOT Parameter <mode>: restart mode;
(Restart module) Description 0: Restart the communication module immediately.
Return value 1: Wait for the radio frame currently being sent in the communication
description module to complete and then restart.
AT+IREBOOT=1
Example
OK

25
E78-900M22S

After receiving the instruction, the communication module will reply to OK


Precautions and restart the communication module. No further AT commands are
received until the restart is complete.
Command Command
Command Format response
character Type
+CLPM:"Mode"
Test AT+CLPM=?
OK
command

Setting AT+CLPM=<mode>
OK
command
Parameter
Description <mode>: Low power mode
CLPM
Return value 1: The device enters low power consumption
(Enable low
description
power
AT+CLPM=1
consumption) Example
OK
After entering low power consumption, send the serial port command again
to wake up;
Because the UART start part byte may be transmitted incorrectly when
Precautions
transmitting above 40kbps, AT+CLPM=0 may be recognized as an error
and return "+CME ERROR". It is recommended to use "000000000D0A"
(hexadecimal) for wakeup.
Command Command
Command Format response
character Type
Query + ECHO:"Mode"
AT+ECHO?
command OK
Setting AT+ECHO=<mode>
OK
command
Parameter
<mode>: command echo;
ECHO Description
0: The instruction turns off the echo.
(Instruction Return value
1: The command turns on echo.
echo) description
AT+ECHO =1
Example OK

Turn on the echo command and return to the corresponding configuration


Precautions
command. The command is powered off and not saved.

26
E78-900M22S

7. FAQ

7.1 Communication range is too short


 The communication distance will be affected when obstacle exists.
 Data lose rate will be affected by temperature, humidity and co-channel interference.
 The ground will absorb and reflect wireless radio wave, so the performance will be poor when testing near ground.
 Sea water has great ability in absorbing wireless radio wave, so performance will be poor when testing near the sea.
 The signal will be affected when the antenna is near metal object or put in a metal case.
 Power register was set incorrectly, air data rate is set as too high (the higher the air data rate, the shorter the
distance).
 The power supply low voltage under room temperature is lower than 2.5V, the lower the voltage, the lower the
transmitting power.
 Due to antenna quality or poor matching between antenna and module.

7.2 Module is easy to damage


 Please check the power supply source, ensure it is 2.0V~3.6V, voltage higher than 3.6V will damage the module.
 Please check the stability of power source, the voltage cannot fluctuate too much.
 Please make sure antistatic measure are taken when installing and using, high frequency devices have electrostatic
susceptibility.
 Please ensure the humidity is within limited range, some parts are sensitive to humidity.
 Please avoid using modules under too high or too low temperature.

8. Important statement
1. EBYTE reserves the right of final interpretation and modification of all contents in this manual.
2. As the hardware and software of the product continue to improve, this manual may be subject to change without
further notice, and the final version of the manual shall prevail.
3. To protect the environment, everyone is responsible: in order to reduce the use of paper, this manual only prints the
Chinese part, the English manual only provides electronic documents, if necessary, please go to our official website to
download; in addition, if the user does not require special, when the user orders in bulk, We only provide product
specifications according to a certain percentage of the order quantity. Not every digital radio station is equipped with one
by one, please understand.

27
Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual

9. Revision history
Version Date Description Issued by

1.0 2018/04/16 initial version -


1.1 2019/4/01 Bug modification Ly
1.2 2019-9-2 Format revision Lyl
1.3 2020-01-13 Ren

10. About us

Technical support: support@cdebyte.com


Documents and RF Setting download link::www.ebyte.com
Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com
-------------------------------------------------------------------------------------------------
Official hotline: 028-61399028 ext. 821
Web: www.ebyte.com
Address: Innovation Center D347, 4# XI-XIN Road,Chengdu, Sichuan, China

Copyright ©2012–2019,成都亿佰特电子科技有限公司 28

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy