10
6. AT command
a)
Command format
:
<CMD>[op][ para1, para2, para3,…]<CR><LF>
:
Command prefix
CMD
:
Control command
[op]
:
Command operator
。
Can be the following:
“=”
:
indicates the parameter setting.
“?”
:
Indicates the current value of the query parameter.
“”
:
indicates the execution of the command.
“=?”
:
Indicates the parameters of the query setting instruction.
[para-n]
:
Indicates the set parameter value or specifies the parameter to be queried.
。
<CR><LF>
:
Enter to change lines
,
ASCII 0x0D 0x0A
Command
Description (general order)
CGMI
Read the manufacturer's logo
CGMM
Read module identification
CGMR
Read version identifier
CGSN
Read product serial number identifier
CGBR
Set the baud rate of the UART
CJOINMODE
Set the read join mode (OTAA, ABP)
CDEVEUI
Set to read DevEUI (OTAA when entering the network)
CJOINMODE
Set the read join mode (OTAA, ABP)
CDEVEUI
Set to read DevEUI (OTAA when entering the network)
CAPPEUI
Set to read AppEUI (OTAA when entering the network)
CAPPKEY
Set to read AppKey (OTAA when entering the network)
CDEVADDR
Set to read DevAddr (ABP when entering the network)
CAPPSKEY
Set to read AppSkey (ABP when accessing the network)
CNWKSKEY
Set to read NwkSkey (ABP when accessing the network)
CFREQBANDMASK
Set the read frequency mask (FreqBandMask)
CULDLMODE
Set to read the Ul/Dl mode (same frequency or different
frequency)
CWORKMODE
Set the read working mode (normal working mode)
CCLASS
Set the read class type (Class A/C)
CBL
Read battery level
CSTATUS
Read node status
CJOIN
Initiate OTAA access to the network
DTRX
Send and receive data frames
DRX
Get the latest received data from Rx buffer and empty Rx buffer
Command
Description (MAC related configuration command)
CCONFIRM
Set the type of read send message (confirm or unconfirm)
CAPPPORT
Set the read application layer port
CDATARATE
Set the read data rate