Local Area Network Search - Waveshare RS232/485 TO WIFI POE ETH (B) User Manual

Table of Contents

Advertisement

RS232/485 TO WIFI POE ETH (B) User Manual
3
Command
1
code
4
Checksum
1
value
5
Checksum
1
value
6
Checksum
1
Byte
Example:
The mobile phone is sent to the WIFI serial server (hexadecimal number):
ff000f020054455354310d0a313233343536ce.
WIFI serial server returns to mobile phone (hexadecimal number): FF000382010187.
Note: The mobile phone sends a setting instruction to the WIFI serial server, setting the SSID as
"TEST1" and the password as "123456". The information returned by the WIFI serial server to the
mobile phone is that there is a network with the SSID of "TEST1" and the password format is correct.

6.8 LOCAL AREA NETWORK SEARCH

RS232/485 TO WIFI POE ETH (B) supports local network search functionality. This means that
when RS232/485 TO WIFI POE ETH (B) is connected to a wireless router, users can obtain the IP
address of the current local network serial port server for RS232/485 TO WIFI POE ETH (B) by sending
a UDP broadcast to a specific fixed port. This enables device discovery and communication within the
local network.
You can also directly connect the AP of RS232/485 TO WIFI POE ETH (B) to send the search
instruction, as shown in the following figure:
Search protocol process:
1. On another device in the local area network, send the search instruction "www.waveshare.com"
through UDP broadcast (broadcast address: xx.xx.255, port: 48899).
checksum bye (excluding the checksum byte).
Command type, 0x82 is the reply instruction corresponding to the
setting instruction.
The checksum result of SSID, if the network value corresponding to this
SSID can be found, is 0x00,
The checksum result of the password, if the password format is correct,
the value is 0x00, if it is incorrect, the value is 0x00.
The cumulative sum of all bytes after the header (excluding the header)
and before the checksum byte (excluding the checksum byte).
Figure LAN search block diagram
66
if not, the value is 0x00.
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents