Starting Web Server - RAK RAK411 Programming Manual

Spi-wifi module
Table of Contents

Advertisement

uint32_t cmd;
Parameter:
Parameter
cmd
Description:
Use
the
Automatically run internal scan, join and IP setting, and then return IP allocation
results.
Return Value:
Parameter
<CODE>
<MAC>
<ADDR>
<MASK>
<GW>
<DNS1>
<DNS2>
<STATUS>

4.4.5 Starting Web Server

Command:
rak_start_web
Syntax:
uint32_t cmd;
Parameter:
Parameter
cmd
Bytes
Value
4
0xC6,0x00,0x00,0x00
saved
network
parameters
Bytes
Value
2
0xC6,0x00
6
4
4
4
4
4
0
1
-2
-3
-4
Bytes
Value
4
0xC7,0x00,0x00,0x00
to
enable
Description
Response Code
MAC address
IP address
Subnet mask
Gateway
DNS Server 1
DNS Server 2
Command successful
Specified SSID is not
found
Failed to join router
Failed
address
Description
Command Code
SHENZHEN RAKWIRELESS TECHNOLOGY CO., LTD
49
RAK411 PROGRAMMING MANUAL
Description
Command Code
automatic
networking.
to
allocate
IP
COPYRIGHT ©
ETDX1603021415
V1.7

Advertisement

Table of Contents
loading

Table of Contents