Chengdu Ebyte Electronic Technology Co., Ltd.
E78-915LN22S(6601) User Manual
Copyright © 2012–20 2 1 , Chengdu Ebyte Electronic Technology Co., Ltd.
21
Precautions
Query the current status of the device
command
characters
Command
type
command format
response
CJOIN
(
Set Join
)
test
command
AT+CJOIN=?
+CJOIN:<ParaTag1>,[ParaTag2],
…
[ParaTag4
]
OK
query
command
AT+CJOIN?
+CJOIN:<ParaValue1>,[ParaValue2],
…
[Para
Value4]
OK
set
command
AT+CJOIN=<ParaValue1>,
[ParaValue2],….
[ParaValue4]
If the input is valid, first return OK, then start
automatic authentication , and return the
authentication result.
+CJOIN:OK Authentication succeeded
+CJOIN:FAIL Authentication failed
Parameter
Description
<ParaTag1>, [ParaTag2],...[ParaTag4]: Names of authentication parameters 1, 2,...4;
[ParaValue1], [ParaValue2],...[ParaValue4]: parameter values of authentication
parameters 1, 2,...4;
<ParaTag1>, means to perform JOIN operation, ParaTag1 value range:
0 – stop JOIN
1 – Start JOIN and restart the JOIN process. For modules with warm restart enabled,
executing this operation clears the saved JOIN context parameters.
[ParaTag2] Indicates whether to enable the automatic JOIN function. The factory default
value is 1, and the value range of ParaTag2:
0 – Turn off automatic JOIN
1 – Automatic JOIN. After the module enters the transparent transmission mode, JOIN is
automatically started.
[ParaTag3] represents the JOIN period, the value range: 7~255, the unit is s.
Factory default: 8.
[ParaTag4] indicates the maximum number of JOIN attempts, the value range of
ParaTag4: 1~255
Return value
description
Example
AT+CJOIN=1,1,10,8 (set the JOIN parameter: enable automatic JOIN, the JOIN period
is 10s, and the maximum number of attempts is 8)
OK
+CJOIN: OK
Precautions
Need to set before Join
command
characters
Command
type
command format
response
DTRX
(
send and
receive data
)
test
command
AT+DTRX=?
+DTRX:[confirm],[nbtrials],<Length>,<Pay
load>
OK