RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
19
powermode
4
0--3
Power mode
Parameter:
It is used to set module power mode.Detailed reference “3.6 power mode ”.
Return Value: N/A
4.1.4 Reading Module Status
Command:
rak_read_status
Syntax:
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
Cmd
4
0xA1,0x00,0x00,0x00
Command Code
Parameter:
It is used to read the data of module status register.
Return Value:
Parameter
Bytes
Value
Description
<STATUS>
1
0x81
There are data to read
0x82
Data buffer is full
0x84
Upgrade error, need to
reset the module
0x88
Indicates
that
the
module is unable to
respond
to
the
command at this time,
except
for
reading
status and reading data
4.1.5 Reset
Command:
rak_reset