docs: update application examples for modbus.rst, mqtt.rst and lwip.rst

This commit is contained in:
Linda
2024-09-20 12:17:36 +08:00
committed by BOT
parent 93de26537c
commit 4d7436f861
10 changed files with 101 additions and 66 deletions

View File

@@ -14,15 +14,18 @@ The documentation can be found through the link below:
* `ESP-Modbus documentation (English) <https://docs.espressif.com/projects/esp-modbus>`__
Application Example
-------------------
Application Examples
--------------------
The examples below demonstrate the ESP-Modbus library of serial and TCP ports for both slave and master implementations respectively.
- :example:`protocols/modbus/serial/mb_slave`
- :example:`protocols/modbus/serial/mb_master`
- :example:`protocols/modbus/tcp/mb_tcp_slave`
- :example:`protocols/modbus/tcp/mb_tcp_master`
- :example:`protocols/modbus/serial/mb_slave` demonstrates how to use {IDF_TARGET_NAME} as a Modbus serial slave device with the esp-modbus stack, enabling an external Modbus host to read and write device parameters using the Modbus protocol.
- :example:`protocols/modbus/serial/mb_master` demonstrates how to use the esp-modbus stack port on {IDF_TARGET_NAME} as a Modbus serial master device, capable of reading and writing values from slave devices in a Modbus segment.
- :example:`protocols/modbus/tcp/mb_tcp_slave` demonstrates the esp-modbus TCP slave stack port, allowing an external Modbus host to read and write device parameters via the Modbus protocol.
- :example:`protocols/modbus/tcp/mb_tcp_master` demonstrates how to use the esp-modbus stack port on {IDF_TARGET_NAME} as a Modbus TCP master device, capable of reading and writing values from slave devices in a Modbus network.
Please refer to the ``README.md`` documents of each specific example for details.
@@ -30,5 +33,3 @@ Protocol References
-------------------
- For the detailed protocol specifications, see `The Modbus Organization <https://modbus.org/specs.php>`_.