esp-idf/examples/protocols/modbus/mb_example_common
..
include
CMakeLists.txt
README.md
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)