background image

S3-915M

User manual

19

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.

Precautions

Enter the network first, then send data

Содержание S3-915M

Страница 1: ...S3 915M User manual 1 S3 915M User Manual LoraWan Module...

Страница 2: ...NICAL PROPERTIES 5 3 1 S3 915M 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 R...

Страница 3: ...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...

Страница 4: ...ream 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...

Страница 5: ...r supply 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...

Страница 6: ..._TX Input output 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 the power reference ground 25 SPI_MISO Input output SPI MISO te...

Страница 7: ...ation 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 us...

Страница 8: ...3 915M 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 da...

Страница 9: ...S3 915M User manual 9 Note For the TTN creation device and corresponding configuration process please refer to LORAWAN Node Gateway TTN Server Configuration Tutorial...

Страница 10: ...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 CD...

Страница 11: ...al command echo configuration Command character Command Type Command Format response CGMI Read the manufacturer s logo Query command AT CGMI CGMI manufacturer OK Parameter Description manufacturer Man...

Страница 12: ...e description Example AT CGSN CGSN 0539349E00032523 OK Precautions Command character Command Type Command Format response CGBR Set baud rate Query command AT CGBR CGBR baud OK Setting command AT CGBR...

Страница 13: ...urn value description Example AT CDEVEUI CDEVEUI AABBCCDD00112233 OK Precautions Set or read DevEUI return Y1Y2 Y8 hexadecimal format and take 8 bytes Command character Command Type Command Format res...

Страница 14: ...dr length is 8 Device address of ABP mode Query command AT CDEVADDR CDEVADDR value OK Setting command AT CDEVADDR value OK Parameter Description value Node DevAddr Return value description Example AT...

Страница 15: ...nd Type Command Format response Test command AT CFREQBANDMASK CFREQBANDMASK mask OK Query command AT CFREQBANDMASK CFREQBANDMASK mask OK Setting command AT CFREQBANDMASK m ask OK Parameter Description...

Страница 16: ...value description Example AT CWORKMODE 2 OK Precautions It needs to be set before joining and the default is normal working mode Currently only normal operation mode is supported Command character Com...

Страница 17: ...nd AT CJOIN CJOIN ParaTag1 ParaTag2 Para Tag4 OK Query command AT CJOIN CJOIN ParaValue1 ParaValue2 Para Value4 OK Setting command AT CJOIN ParaValue1 ParaValue2 ParaValue4 If the input is legal first...

Страница 18: ...SENT TX_CNT Parameter Description Confirm and nbtrials refer to the corresponding AT command which is valid only for this transmission optional Length indicates the number of strings the maximum valu...

Страница 19: ...NT 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 recept...

Страница 20: ...IRM value OK Query command AT CCONFIRM DRX Length Payload OK Setting command AT CCONFIRM value OK Parameter Description value as follows 0 UnConfirmed up message 1 Confirmed up message Return value de...

Страница 21: ...125 Return value description Example AT CDATARATE 1 OK Precautions Need to be set before sending data invalid after ADR is enabled Command character Command Type Command Format response CRSSI Query ch...

Страница 22: ...character Command Type Command Format response CRM Set reporting mode Test command AT CRM CRM reportMode reportInterval OK Query command AT CRM CTXP reportMode reportInterval OK Setting command AT CT...

Страница 23: ...haracter Command Type Command Format response CLINKCHECK Verify network connectivity Test command AT CLINKCHECK CLINKCHECK value OK Setting command AT CLINKCHECK value OK Parameter Description value E...

Страница 24: ...meter Description AT CRXP RX1DRoffest RX2DataRate RX2Frequen cy OK Return value description RX1DRoffest RX2DataRate RX2Frequency LoRaWAN Example Precautions AT CRXP 1 1 471000000 OK Test command Need...

Страница 25: ...ameters for network initialization and operation Precautions Need to save before sending data Command character Command Type Command Format response CRESTOREMAC Restore MAC default parameters Test com...

Страница 26: ...ering low power consumption send the serial port command again to wake up Because the UART start part byte may be transmitted incorrectly when transmitting above 40kbps AT CLPM 0 may be recognized as...

Страница 27: ...wer 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...

Страница 28: ...armful interference and 2 this device must accept any interference received including interference that may cause undesired operation FCC RF Radiation Exposure Statement 1 This Transmitter must not be...

Отзывы: