aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-08-06 11:46:08 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-08-06 11:46:27 +0200
commit07af5846195891eefdd825fb4b4b6f67d6acf197 (patch)
tree8f6e148201c32649e2e7ced0c637ccc2227fb797
parenta8b725529c9e24c284542a7a0af530d8dd7fa61f (diff)
Correct ramps call syntax in README.md
Correct ramps call syntax in README.md. BUG-AGL: SPEC-2683 Change-Id: Ib580a3dc7c681949c542f8dec1eb97fd14e9088a Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b9b91f9..d044d8b 100644
--- a/README.md
+++ b/README.md
@@ -490,11 +490,11 @@ $HAL_API_NAME $SELECTED_STREAM { "volume" : 70 }
```
```bash
-$HAL_API_NAME $SELECTED_STREAM { "ramp" : "-10" }
+$HAL_API_NAME $SELECTED_STREAM { "ramp" : { "uid" : $RAMP_UID, "volume" : "-10" } }
```
```bash
-$HAL_API_NAME $SELECTED_STREAM { "ramp" : 100 }
+$HAL_API_NAME $SELECTED_STREAM { "ramp" : { "uid" : $RAMP_UID, "volume" : 100 } }
```
Example :