RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
18
4.1.2 Checking Software Version
Command:
rak_get_version
Syntax:
uint32_tcmd;
Parameter:
Parameter
Bytes
Value
Description
Cmd
4
0xBE,0x00,0x00,0x00
Command Code
Parameter:
It is used to check module versions, including versions of host and WLAN.
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xBE,0x00
Response Code
<HOST_FW>
8
ASCII
Host version
<->
1
-
Version delimiter
<WLAN_FW>
6
ASCII
Wlan version
<STATUS>
1
0
Command
successful
-2
Command failed
4.1.3 Setting Power Mode
Command:
rak_setpwrmode
Syntax:
typedef struct {
uint32_t cmd;
uint32_t powermode;
}rak_pwr_mode_t;
Parameter:
Parameter
Bytes
Value
Description
Cmd
4
0xB8,0x00,0x00,0x00
Command Code