Commit d35cd949 authored by Ivan Tyagov's avatar Ivan Tyagov

Allow to configure from SlapOs master block device and list of I2C slaves (MOD-IOs).

parent 9f4fdbbb
[instance-profile]
filename = instance.cfg.in
md5sum = 8154af3eab2c255330fcfae9278a2b83
md5sum = 16f6538f754919b5e894e85fd78ffbab
......@@ -23,7 +23,8 @@ extends = {{ template_monitor }}
recipe = slapos.cookbook:wrapper
# start with defaults
command-line =
{{ buildout['parts-directory'] }}/osie/coupler/opc-ua-server/bin/lime2-opc-ua-server /dev/i2c-1 0x58
{{ buildout['parts-directory'] }}/osie/coupler/opc-ua-server/bin/lime2-opc-ua-server ${instance-parameter:configuration.coupler_block_device} ${instance-parameter:configuration.coupler_i2c_slave_list}
wrapper-path = ${directory:service}/coupler-opc-ua
[instance-parameter]
......@@ -41,6 +42,9 @@ url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
configuration.coupler_block_device =
configuration.coupler_i2c_slave_list =
# Define default parameter(s) that will be used later, in case user didn't
# specify it.
# All possible parameters should have a default.
......
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