RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
47
4.4.3 Modifying Web Parameters
Command:
rak_web_store
Syntax:
typedef struct {
uint32_t cmd;
config_t params;
char user_name[17];
char user_psk[17];
}web_t
Parameter:
Parameter
Bytes
Value
Description
Cmd
4
0xC5,0x00,0x00,0x00
Command Code
params
132
Network parameters
User_name
17
ASCII
Web
authentication
user name
User_psk
17
ASCII
Web
authentication
password
Description:
It is used to save the network parameters used to initiate network.
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xC5,0x00
Response Code
<STATUS>
1
0
Command successful
-2
Command failed
Related parameters:
Param
Parameter
Bytes
Value
Description
feature_bitmap
4
0x00,0x00,0x00,0x00
Characteristic switch