Fast Access Wi-Fi(Usr-Link) - Waveshare WIFI232 User Manual

Table of Contents

Advertisement

WAVESHARE ELECTRONICS
Page:10.10.100.254/websocketen.html)
Click on the "connect" page and then implements a connection, so a serial port with page can
send or receive data from each other.This module websocket server support 8 client connection
at
This function for web applications, and for web users with higher response speed, if you want to
customize the corresponding web page, can connect your company.

4.8.7 Fast access Wi-Fi(usr-link)

When one module works in AP mode, it opens a UDP port used to receive fast access Wi-Fi
commands, the port number is 49000. The phone PDA can directly connect to Wi-Fi network of
the module, send commands to search router list and set SSID and password. After the
completion of set up, module will automatically restart, connected to the router, work in the STA
mode at this time.
Protocol format
Searching command
No
Name
1
head
2
length
3
cmd
4
check
Response for searching
No
Name
1
head
2
length
3
cmd
4
AP num
5
SSID1
6
separator
Figure 25 Websocket Page
the
Num of Bytes
Description
1
fixed value:0xFF
2
Sum of data bytes from length bytes to check
byte(not contain length bytes and check byte).
1
Command type, 0x01
1
Sum of bytes from head (not contained) byte to
check byte (not contained).
Num of Bytes
Description
1
fixed value:0xFF
2
Sum of data bytes from length bytes to check
byte(not contain length bytes and check byte).
1
Command type, 0x81
1
The number of AP what module scans
Unsized
The SSID of router 1
1
Separator of SSID1, fixed value:0x00
Page 34 of 81
WIFI232 User Manual
same
time.

Advertisement

Table of Contents
loading

Table of Contents