RAK411 PROGRAMMING MANUAL
V1.7
COPYRIGHT ©
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
ETDX1603021415
23
a2
a
p
1x
<SSID_LEN>
2
Length of SSID
<SSID>
32
SSID
<BSSID>
6
BSSID
<STATUS>
1
0
Command successful
-2
Command failed
4.2.3 Setting Password
Command:
rak_set_psk
Syntax:
typedef struct {
uint32_t cmd;
char psk[64];
}rak_psk_t;
Parameter:
Parameter
Bytes
Value
Description
Cmd
4
0xA5,0x00,0x00,0x00
Command Code
Psk
64
Network password
Description:
It is used to set network password.
Return Value:
Parameter
Bytes
Value
Description
<CODE>
2
0xA5,0x00
Response Code
<STATUS>
1
0
Command successful
-2
Command failed
4.2.4 Setting Channel
Command:
rak_set_channel
Syntax:
typedef struct {