User's Manual

S3-915M User manual
17
( Query the
current status of
the device )
command
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 JOINRestart the JOIN process again. For modules that enable hot
start, performing this action clears the saved JOIN context parameters.
[ParaTag2] Indicates whether the automatic JOIN function is enabled.The
factory value is 1 ParaTag2 value range
Return value
description