Keepalive Function; Websocket Function; Mqtt Function; Mqtt Function Introduction - Waveshare RS232/485 TO WIFI POE ETH (B) User Manual

Table of Contents

Advertisement

RS232/485 TO WIFI POE ETH (B) User Manual
(1) The webpage configuration is shown below:
(2) AT commands setting:
Enable or disable the Modbus polling feature, and enable the Modbus polling function.
AT+MODBPOLLEN=on/off
Set the polling interval for querying (50~65535) milliseconds, using 200ms as an example.
AT+MODBPOLLT=200

6.15 KEEPALIVE FUNCTION

With the addition of a Keepalive mechanism during TCP connections, RS232/485 TO WIFI POE
ETH (B) can promptly detect network anomalies and disconnect when there's a network issue. Once
the network is restored, it can swiftly reconnect to the server.

6.16 WEBSOCKET FUNCTION

This WIFI serial server can realize the function of websocketserver. It can make the serial port of
WIFI serial server interact with the web page in real time, instead of the earlier HTTPGET, POST and
PUT modes, and the response speed is faster. This WIFI serial server provides a corresponding
websocket test page for users to test, and the specific page is as follows: (The address of this page is
10.10.100.254/websocket.html).

6.17 MQTT FUNCTION

6.17.1 MQTT FUNCTION INTRODUCTION

MQTT is a protocol for message publishing//subscribe transmission based on the client servers.
The MQTT protocol is lightweight, simple, open, and easy to implement, which makes it highly
versatile and applicable in a wide range of scenarios.
The MQTT function settings of RS232/485 TO WIFI POE ETH (B) are highly flexible, allowing you
to configure almost all MQTT protocol-related connection parameters, publish topic parameters, and
subscribe topic parameters.
RS232/485 TO WIFI POE ETH (B) MQTT's publish topic modes include Pure Transparent Publish
Mode (serial port can transparently publish data to all topics), Special Identifier Publish Mode (serial
port can transparently publish data to specific topics using identifiers), and Custom Topic Publish
Mode (serial port can transparently publish data to specified topics).
Figure Modbus Polling Web Page Configuration Screenshot
74
www.waveshare.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs232/485 to wifi eth (b)

Table of Contents