Update api.json to newest modbus changes
This commit is contained in:
parent
11f62d0555
commit
0cff50dc2c
@ -157,6 +157,7 @@
|
|||||||
"ModbusRtuErrorHardwareNotFound",
|
"ModbusRtuErrorHardwareNotFound",
|
||||||
"ModbusRtuErrorResourceBusy",
|
"ModbusRtuErrorResourceBusy",
|
||||||
"ModbusRtuErrorNotSupported",
|
"ModbusRtuErrorNotSupported",
|
||||||
|
"ModbusRtuErrorInvalidTimeoutValue",
|
||||||
"ModbusRtuErrorConnectionFailed"
|
"ModbusRtuErrorConnectionFailed"
|
||||||
],
|
],
|
||||||
"NetworkDeviceState": [
|
"NetworkDeviceState": [
|
||||||
@ -1509,13 +1510,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ModbusRtu.AddModbusRtuMaster": {
|
"ModbusRtu.AddModbusRtuMaster": {
|
||||||
"description": "Add a new modbus RTU master with the given configuration.",
|
"description": "Add a new modbus RTU master with the given configuration. The timeout value is in milli seconds and the minimum value is 10 ms.",
|
||||||
"params": {
|
"params": {
|
||||||
"baudrate": "Uint",
|
"baudrate": "Uint",
|
||||||
"dataBits": "$ref:SerialPortDataBits",
|
"dataBits": "$ref:SerialPortDataBits",
|
||||||
|
"numberOfRetries": "Uint",
|
||||||
"parity": "$ref:SerialPortParity",
|
"parity": "$ref:SerialPortParity",
|
||||||
"serialPort": "String",
|
"serialPort": "String",
|
||||||
"stopBits": "$ref:SerialPortStopBits"
|
"stopBits": "$ref:SerialPortStopBits",
|
||||||
|
"timeout": "Uint"
|
||||||
},
|
},
|
||||||
"returns": {
|
"returns": {
|
||||||
"modbusError": "$ref:ModbusRtuError",
|
"modbusError": "$ref:ModbusRtuError",
|
||||||
@ -1547,9 +1550,11 @@
|
|||||||
"baudrate": "Uint",
|
"baudrate": "Uint",
|
||||||
"dataBits": "$ref:SerialPortDataBits",
|
"dataBits": "$ref:SerialPortDataBits",
|
||||||
"modbusUuid": "Uuid",
|
"modbusUuid": "Uuid",
|
||||||
|
"numberOfRetries": "Uint",
|
||||||
"parity": "$ref:SerialPortParity",
|
"parity": "$ref:SerialPortParity",
|
||||||
"serialPort": "String",
|
"serialPort": "String",
|
||||||
"stopBits": "$ref:SerialPortStopBits"
|
"stopBits": "$ref:SerialPortStopBits",
|
||||||
|
"timeout": "Uint"
|
||||||
},
|
},
|
||||||
"returns": {
|
"returns": {
|
||||||
"modbusError": "$ref:ModbusRtuError"
|
"modbusError": "$ref:ModbusRtuError"
|
||||||
@ -2409,13 +2414,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ModbusRtu.ModbusRtuMasterChanged": {
|
"ModbusRtu.ModbusRtuMasterChanged": {
|
||||||
"description": "Emitted whenever a new modbus RTU master has been changed to the system.",
|
"description": "Emitted whenever a modbus RTU master has been changed in the system.",
|
||||||
"params": {
|
"params": {
|
||||||
"modbusRtuMaster": "$ref:ModbusRtuMaster"
|
"modbusRtuMaster": "$ref:ModbusRtuMaster"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ModbusRtu.ModbusRtuMasterRemoved": {
|
"ModbusRtu.ModbusRtuMasterRemoved": {
|
||||||
"description": "Emitted whenever a new modbus RTU master has been removed from the system.",
|
"description": "Emitted whenever a modbus RTU master has been removed from the system.",
|
||||||
"params": {
|
"params": {
|
||||||
"modbusUuid": "Uuid"
|
"modbusUuid": "Uuid"
|
||||||
}
|
}
|
||||||
@ -2830,9 +2835,11 @@
|
|||||||
"connected": "Bool",
|
"connected": "Bool",
|
||||||
"dataBits": "$ref:SerialPortDataBits",
|
"dataBits": "$ref:SerialPortDataBits",
|
||||||
"modbusUuid": "Uuid",
|
"modbusUuid": "Uuid",
|
||||||
|
"numberOfRetries": "Uint",
|
||||||
"parity": "$ref:SerialPortParity",
|
"parity": "$ref:SerialPortParity",
|
||||||
"serialPort": "String",
|
"serialPort": "String",
|
||||||
"stopBits": "$ref:SerialPortStopBits"
|
"stopBits": "$ref:SerialPortStopBits",
|
||||||
|
"timeout": "Uint"
|
||||||
},
|
},
|
||||||
"MqttPolicy": {
|
"MqttPolicy": {
|
||||||
"allowedPublishTopicFilters": "StringList",
|
"allowedPublishTopicFilters": "StringList",
|
||||||
|
|||||||
Reference in New Issue
Block a user