Trying to compile tcp_bridge and modbus_bridge drivers using the following defines in the user_config_ovverride.h file:
#define USE_TCP_BRIDGE
#define USE_MODBUS_BRIDGE
#define USE_MODBUS_BRIDGE_TCP
Compiled using PlatformIO, and even TasmoCompiler. I've tried develpment, main and older branches.
Compilation succeeds without error, uploaded via webupload and serial port (even after flashing blank_1MB.bin)
Despite that, I always got an Error message when trying to use the commands associated with tcp_bridge in the web console:
11:51:04.381 CMD: tcpbaudrate 9600
11:51:04.383 SRC: WebConsole from 192.168.50.201
11:51:04.385 CMD: Grp 0, Cmd 'TCPBAUDRATE', Idx 1, Len 4, Pld 9600, Data '9600'
11:51:04.388 RSL: RESULT = {"Command":"Error"}
modbus commands are completely unknown:
11:58:03.084 CMD: ModbusBaudrate 9600
11:58:03.086 SRC: WebConsole from 192.168.50.201
11:58:03.089 CMD: Grp 0, Cmd 'MODBUSBAUDRATE', Idx 1, Len 4, Pld 9600, Data '9600'
11:58:03.093 RSL: RESULT = {"Command":"Unknown"}
I've tried with different sonoff basic device, without luck.
Half a year ago, I've done this task in no time, but this time I've struggling since 2 days.