Commit 5ba65008 authored by Jérome Perrin's avatar Jérome Perrin

software/osie-coupler: fix json schema

parent a244c329
Pipeline #26356 failed with stage
in 0 seconds
...@@ -3,78 +3,65 @@ ...@@ -3,78 +3,65 @@
"description": "Parameters to instantiate coupler", "description": "Parameters to instantiate coupler",
"type": "object", "type": "object",
"configuration": { "configuration": {
"coupler_block_device": {
"coupler_block_device": {
"description": "The Linux block device using I2C protocol,", "description": "The Linux block device using I2C protocol,",
"type": "string", "type": "string",
"default": "/dev/i2c-1" "default": "/dev/i2c-1"
}, },
"coupler_i2c_slave_list": {
"coupler_i2c_slave_list": {
"description": "The list of comma separated addresses of I2C enabled devices on the I2C bus.", "description": "The list of comma separated addresses of I2C enabled devices on the I2C bus.",
"type": "string", "type": "string",
"default": "0x58" "default": "0x58"
}, },
"opc_ua_port": {
"opc_ua_port": {
"description": "The OPC UA server bind to bind to.", "description": "The OPC UA server bind to bind to.",
"type": "integer", "type": "integer",
"default": 4840 "default": 4840
}, },
"mode": {
"mode": { "description": "The operation mode of the coupler. By default 0 - i.e. control for real I2C devices attached. If 1 selected emulate them (useful for testing). ",
"description": "The operationg mode of the coupler. By default 0 - i.e. control for real I2C devices attached. If 1 selected emulate them (useful for testing). ",
"type": "integer", "type": "integer",
"default": 0 "default": 0
}, },
"id": {
"id": {
"description": "The numeric ID of the coupler", "description": "The numeric ID of the coupler",
"type": "integer", "type": "integer",
"default": 0 "default": 0
}, },
"username": {
"username": {
"description": "The username for OPC UA server.", "description": "The username for OPC UA server.",
"type": "string", "type": "string",
"default": "" "default": ""
}, },
"password": {
"password": {
"description": "The password for OPC UA server.", "description": "The password for OPC UA server.",
"type": "string", "type": "string",
"default": "" "default": ""
}, },
"heart_beat": {
"heart_beat": {
"description": "Indication if coupler should send heart beats over a keep-alive network.", "description": "Indication if coupler should send heart beats over a keep-alive network.",
"type": "boolean", "type": "boolean",
"default": 0 "default": 0
}, },
"heart_beat_interval": {
"heart_beat_interval": {
"description": "The heart beat interval (in ms)", "description": "The heart beat interval (in ms)",
"type": "integer", "type": "integer",
"default": 500 "default": 500
}, },
"heart_beat_id_list": {
"heart_beat_id_list": {
"description": "A comma separated list of couplers' IDs which should send to us keep-alive messages. ", "description": "A comma separated list of couplers' IDs which should send to us keep-alive messages. ",
"type": "string", "type": "string",
"default": "" "default": ""
}, },
"heart_beat_timeout_interval": {
"heart_beat_timeout_interval": {
"description": "The timeout (in ms) which when expired without a keep alive message will cause the coupler to go to a safe mode. ", "description": "The timeout (in ms) which when expired without a keep alive message will cause the coupler to go to a safe mode. ",
"type": "integer", "type": "integer",
"default": 2000 "default": 2000
}, },
"network_address_url_data_type": {
"network_address_url_data_type": {
"description": "Network address URL type used for Pub/Sub.", "description": "Network address URL type used for Pub/Sub.",
"type": "string", "type": "string",
"default": "opc.udp://224.0.0.22:4840/" "default": "opc.udp://224.0.0.22:4840/"
} }
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment