Chengdu Ebyte Electronic Technology Co.,Ltd.
E78-470LN22S User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
19
CSTAUS
(
Query the
current status of
the device
)
Test
command
AT+CSTAUS=?
+CSTATUS:
”
status
”
OK
Query
command
AT+CSTATUS?
+CSTATUS:<status>
OK
Setting
command
<status>
:
00 – No data operation
01 – Data transmission
02 – Data transmission failed
03 – Data sent successfully
04 – JOIN succeeded (only in the first JOIN process)
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
Parameter
Description
Return value
description
AT+CSTATUS?
+CSTATUS=03
OK
Example
Query the current status of the device
Command
character
Command
Type
Command Format
response
CJOIN
(
Set Join
)
Test
command
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 return OK, then
start automatic authentication and return
the authentication result.
+CJOIN:OK Authentication succeeded
+CJOIN: FAIL authentication failed
Parameter
Description
<ParaTag1>
,
[ParaTag2]
,
……[ParaTag4]
:
Authentication parameter tag
:
1
,
2
,
……4
;
[ParaValue1]
,
[ParaValue2]
,
……[ParaValue4]
:
Authentication parameter
value: 1
,
2
,
……4
;
<ParaTag1>, indicates that the JOIN operation is performed,
,
ParaTag1
Ranges
:
0– stop JOIN
1– start JOIN
,
Restart the JOIN process again. For modules that enable hot
start, performing this action clears the saved JOIN context parameters.
Return value
description