Websocket; Fast Access Wi-Fi(Usr-Link) - Jinan USR IOT Technology WIFI232-A User Manual

Table of Contents

Advertisement

Specific setup process, please refer to the AT command section(5.2.2.2.50-5.2.2.2.56).

4.8.7 Websocket

This module can realize the function of the websocket server, allowing serial real-time interaction
with the web module, replace the previous HTTP GET, POST, corresponding faster.This module
provides the corresponding websocket test page for user testing, specific page is as follows:(web
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 the same time.
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.
Note:This function occupy the 8000 port of module.

4.8.8 Fast access Wi-Fi(usr-link)

This function is based on V5.01.08 and above version of the firmware.
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
Jinan USR IOT Technology Limited
USR-WIFI232-A/B/C User Manual
Figure 32
Websocket
Websocket
Websocket
Websocket Page
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
Page 39 of 93
http://www.usriot.com
Page
Page
Page
tec@usr.cn

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wifi232-bWifi232-c

Table of Contents