
RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
20
Syntax:
uint32_t cmd;
Parameter:
Parameter
Bytes
Value
Description
Cmd
4
0xBF,0x00,0x00,0x00
Command Code
Parameter:
It is used to resets the entire module via command.
Return Value: N/A
4.1.6 Module firmware upgrade
Command:
rak_reset_upgrade
Syntax:
typedef struct {
uint32_t cmd;
uint32_t File_len;
uint16_t Frame_len;
char buffer[1400];
}rak_upgrad_t;
Parameter:
Paramete
r
Bytes
Value
Description
cmd
4
0xC8,0x00,0x00,0x0
0
Command Code
File_len
4
Number of bytes of whole
firmware file
Frame_le
n
2
0-1400
,
Recommend 1000
Number of firmware data bytes
sent by the current command
buffer
1400
Firmware data