Checklist
Feature description
I’m not sure whether esp-modbus has an interface that allows users to customize the implementation of other communication methods, such as Zigbee or SPI-to-UART. If the esp-modbus library has an interface, I feel that we users could implement it by writing a file similar to mbc_serial_master.c, but I haven’t looked closely at the logic inside. There are no actual hardware interface implementations for open, close, write, and read inside. It seems that to achieve what I want, I would need to implement a complete set of Modbus processing logic. Is there a way that we could just simply implement a few interfaces like open, close, write, and read and still be able to extend a new communication method?
Use cases
Zigbee gateway.
Alternatives
libmodbus.
Additional context
No response
Checklist
Feature description
I’m not sure whether esp-modbus has an interface that allows users to customize the implementation of other communication methods, such as Zigbee or SPI-to-UART. If the esp-modbus library has an interface, I feel that we users could implement it by writing a file similar to mbc_serial_master.c, but I haven’t looked closely at the logic inside. There are no actual hardware interface implementations for open, close, write, and read inside. It seems that to achieve what I want, I would need to implement a complete set of Modbus processing logic. Is there a way that we could just simply implement a few interfaces like open, close, write, and read and still be able to extend a new communication method?
Use cases
Zigbee gateway.
Alternatives
libmodbus.
Additional context
No response