mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
96b77a28b1
add multi register area descriptors into concrete port (initial) add create/destroy of area descriptors into concrete port add the list of descriptors in common slave interface structure and init/destroy in concrete slave port move r/w callback functions into common slave final update of common slave interface wrappers add override API option in concrete port update slave examples to check new feature |
||
---|---|---|
.. | ||
include | ||
CMakeLists.txt | ||
component.mk | ||
modbus_params.c | ||
README.md |
Modbus Example Common
This directory contains component that is common for Modbus master and slave examples. The component defines Modbus parameters that are shared between examples and provide code that you can copy and adapt into your own projects. For more information please refer to Modbus example README.md files located in the folders:
examples/protocols/modbus/serial/mb_master
Modbus serial master implementation (RTU and ASCII)examples/protocols/modbus/serial/mb_slave
Modbus serial slave implementation (RTU and ASCII)examples/protocols/modbus/serial/mb_master
Modbus serial master implementation (RTU and ASCII)examples/protocols/modbus/tcp/mb_tcp_slave
Modbus serial slave implementation (TCP)examples/protocols/modbus/tcp/mb_tcp_master
Modbus serial master implementation (TCP)