S3-915M
User manual
18
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
Example
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
)
OK
+CJOIN:OK
Precautions
Set before Join.
Command
character
Command
Type
Command Format
response
DTRX
(
Send and
receive data
)
Test
command
AT+DTRX=?
+DTRX:[confirm],[nbtrials],<Length>,<
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
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 value is described in
the access specification; the byte lengths allowed to be transmitted at
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?
Confirm type data:
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,
Return value
description