diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-09-12 14:53:40 +0200 |
---|---|---|
committer | Clément Bénier <clement.benier@iot.bzh> | 2018-09-12 14:57:46 +0200 |
commit | 77973a72cb095f23a1e9bc776582781e8316e265 (patch) | |
tree | 89ec80861c73fc79c9c107a924980a1f00b3f7ce /conf.d/project/etc | |
parent | 217bb01edca6fa9e5fc920cf596934727ffb92c3 (diff) |
txc-binding: in conf files, rename api to txc
fix multiples errors, rename txc into txc-binding
Change-Id: I9cd32cf157e407d98293bc869ed08cc93518a555
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'conf.d/project/etc')
-rw-r--r-- | conf.d/project/etc/control-signal-composer.json | 2 | ||||
-rw-r--r-- | conf.d/project/etc/sig-txc.json | 20 | ||||
-rw-r--r-- | conf.d/project/etc/sources-txc.json | 10 |
3 files changed, 16 insertions, 16 deletions
diff --git a/conf.d/project/etc/control-signal-composer.json b/conf.d/project/etc/control-signal-composer.json index 3e693f6..d6083e1 100644 --- a/conf.d/project/etc/control-signal-composer.json +++ b/conf.d/project/etc/control-signal-composer.json @@ -5,7 +5,7 @@ "version": "1.0", "api": "signal-composer", "info": "Signal composer Configuration", - "require": ["txc"] + "require": ["txc-binding"] }, "plugins": [ { diff --git a/conf.d/project/etc/sig-txc.json b/conf.d/project/etc/sig-txc.json index c9c59cd..ec9ed81 100644 --- a/conf.d/project/etc/sig-txc.json +++ b/conf.d/project/etc/sig-txc.json @@ -3,7 +3,7 @@ "signals": [ { "uid": "vehicle_speed", - "event": "txc/vehicle_speed", + "event": "txc-binding/vehicle_speed", "retention": 30, "unit": "km/h", "getSignalsArgs": { @@ -19,7 +19,7 @@ }, { "uid": "engine_speed", - "event": "txc/engine_speed", + "event": "txc-binding/engine_speed", "retention": 30, "unit": "rpm", "getSignalsArgs": { @@ -28,7 +28,7 @@ }, { "uid": "fuel_level", - "event": "txc/fuel_level", + "event": "txc-binding/fuel_level", "retention": 30, "unit": "liter", "getSignalsArgs": { @@ -37,7 +37,7 @@ }, { "uid": "accelerator_pedal_position", - "event": "txc/accelerator_pedal_position", + "event": "txc-binding/accelerator_pedal_position", "retention": 30, "getSignalsArgs": { "event": "accelerator_pedal_position" @@ -45,7 +45,7 @@ }, { "uid": "torque_at_transmission", - "event": "txc/torque_at_transmission", + "event": "txc-binding/torque_at_transmission", "retention": 30, "unit": "Nm", "getSignalsArgs": { @@ -54,7 +54,7 @@ }, { "uid": "steering_wheel_angle", - "event": "txc/steering_wheel_angle", + "event": "txc-binding/steering_wheel_angle", "retention": 30, "unit": "degrees", "getSignalsArgs": { @@ -63,7 +63,7 @@ }, { "uid": "fuel_consumed_since_restart", - "event": "txc/fuel_consumed_since_restart", + "event": "txc-binding/fuel_consumed_since_restart", "retention": 30, "unit": "liter", "getSignalsArgs": { @@ -72,7 +72,7 @@ }, { "uid": "odometer", - "event": "txc/odometer", + "event": "txc-binding/odometer", "retention": 30, "unit": "km", "getSignalsArgs": { @@ -81,7 +81,7 @@ }, { "uid": "latitude", - "event": "txc/latitude", + "event": "txc-binding/latitude", "retention": 30, "unit": "degrees", "getSignalsArgs": { @@ -90,7 +90,7 @@ }, { "uid": "longitude", - "event": "txc/longitude", + "event": "txc-binding/longitude", "retention": 30, "unit": "degrees", "getSignalsArgs": { diff --git a/conf.d/project/etc/sources-txc.json b/conf.d/project/etc/sources-txc.json index a460fee..5f41370 100644 --- a/conf.d/project/etc/sources-txc.json +++ b/conf.d/project/etc/sources-txc.json @@ -2,15 +2,15 @@ "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json", "sources": [ { - "uid": "TXC-demo", - "api": "txc", - "info": "Use TXC demo binding as signals provider", + "uid": "txc-binding-demo", + "api": "txc-binding", + "info": "Use txc-binding demo binding as signals provider", "init": { - "action": "api://txc#start", + "action": "api://txc-binding#start", "args": {"filename": "var/nyc-downtown-crosstown.json"} }, "getSignals": { - "action": "api://txc#subscribe" + "action": "api://txc-binding#subscribe" } } ] |