OVMS3-idf/examples/protocols/modbus/serial/mb_example_common
Alex Lisitsyn 3abdd2207d freemodbus: fix long buffer failure
check master read write functions with array of registers)
fix master serial processing code and modbus controller to work with register array
modbus_master: add reading and writing of test value array (58 registers) to check failure is gone
remove parameter temporary buffer from modbus controller to allow more than 24 byte writes
driver: fix issue with TOUT feature
driver: fix uart_rx_timeout issue
driver: fix issue with rxfifo_tout_int_raw not triggered when received fifo_len = 120 byte and all bytes read out of fifo as result of rxfifo_full_int_raw
driver: add function uart_internal_set_always_rx_timeout() to always handle tout interrupt
examples: call uart_internal_set_always_rx_timeout() to handle tout interrupt correctly
examples: update examples to use tout feature
driver: reflect changes of uart_set_always_rx_timeout() function, change uart.c
driver: change conditions to trigger workaround for tout feature in uart.c
driver: change uart_set_always_rx_timeout()
freemodbus: fix tabs, remove commented code
driver: remove uart_ll_is_rx_idle()
2020-03-30 22:05:48 +08:00
..
include freemodbus: fix long buffer failure 2020-03-30 22:05:48 +08:00
CMakeLists.txt freemodbus: fix merge issues 2019-12-10 14:30:25 +08:00
component.mk freemodbus: fix merge issues 2019-12-10 14:30:25 +08:00
modbus_params.c freemodbus: fix merge issues 2019-12-10 14:30:25 +08:00
README.md freemodbus: fix merge issues 2019-12-10 14:30:25 +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)