uploaded 5 days ago
Modbus C++ class component for ESP-IDF

7 examples

  • network_client
    This example demonstrates a Network Modbus client that initializes a Wi-Fi station and reads holding registers and coils.
    2.27 KB
  • network_server
    This example demonstrates a Network Modbus server created at port 502, with specific parameters for client management and data handling.
    2.56 KB
  • server_memory_areas
    This example shows the setup of a UART Modbus server with several memory areas, including holding and input registers.
    2.42 KB
  • server_user_defined_function
    The example demonstrates a CustomModbusServer that implements a user-defined function to receive and respond with modified data.
    2.13 KB
  • uart_client
    This example demonstrates a UART Modbus client using UART0 to read and write holding registers and coils.
    1.79 KB
  • uart_server
    This example demonstrates a UART Modbus server using UART0 with Modbus RTU protocol and a station address of 1.
    1.74 KB
  • usb_server
    USB Modbus server is created with USB as a port, using Modbus RTU protocol and supporting multiple memory areas.
    1.68 KB