Are there changes to ubus call (modbus) in the new firmware versions ?
in the past this command worked:
ubus call modbus_master tcp.test ‘{“ip”:“192.168.0.1”,“port”:502,“id”:1,“timeout”:1,“function”:
3,“first_reg”:1030,“reg_count”:“1”,“data_type”:“16bit_int_hi_first”,“no_brackets”:1}’
is the tcp.test method still available?
Regards
I found a mistake, for the new firmware it should be:
ubus call modbus_client.rpc tcp.test ‘{ “ip”: ‘192.168.0.1’, “port”:502, “id”:1, “timeout”:1, “function”:
3, ‘first_reg’:1030, ‘reg_count’: ‘1’, “data_type”: ‘16bit_int_hi_first’, “no_brackets”:1}
system
Closed
5
This topic was automatically closed after 15 days. New replies are no longer allowed.