esp-idf/examples/protocols/modbus/mb_example_common
Alex Lisitsyn 96b77a28b1 freemodbus: add support for list of area descriptors for each register area
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
2021-01-28 12:29:32 +08:00
..
include freemodbus: add support for list of area descriptors for each register area 2021-01-28 12:29:32 +08:00
CMakeLists.txt Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
component.mk Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
modbus_params.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
README.md examples: freemodbus add tcp support for common master/slave iface 2020-07-22 00:34:04 +08:00

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)