Hello,
first of all thank you for your response;
i added the following script directly to the SMS utilities --> customer script:
"
#!/bin/sh
json=$(printf '{"ip":"192.168.10.177", "port":502, "id":1, "timeout":5, "function":4, "first_reg":1, "reg_count":"1", "data_type":"16bit INT, high byte first", "no_brackets":1}')
ubus call modbus_master tcp.test "$json"
"
i got the following using SMS:
{
?"error":0,
?"result": ""
}
status code: 0
but when i try from modbus screen using the same parameters i get the values as expected