Chengdu Ebyte Electronic Technology Co., Ltd.
Precautions
command
Command
characters
type
test
command
query
command
set
command
Parameter
Description
CJOIN
( Set Join )
Return value
description
Example
Precautions
command
Command
characters
type
DTRX
test
( send and
command
receive data )
Copyright © 2012–20 2 1 , Chengdu Ebyte Electronic Technology Co., Ltd.
Query the current status of the device
command format
AT+CJOIN=?
AT+CJOIN?
AT+CJOIN=<ParaValue1>,
[ParaValue2],....
[ParaValue4]
<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
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
Need to set before Join
command format
AT+DTRX=?
E78-915LN22S(6601) User Manual
response
+CJOIN:<ParaTag1>,[ParaTag2], ... [ParaTag4
]
OK
+CJOIN:<ParaValue1>,[ParaValue2], ... [Para
Value4]
OK
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
response
+DTRX:[confirm],[nbtrials],<Length>,<Pay
load>
OK
21