diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-07-01 18:55:23 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-07-03 09:37:05 +0200 |
commit | 3977705505069b4210b29e8188cdd35813c65886 (patch) | |
tree | 91664b21e4cb83e91b2288ff7e2e720171a80362 /docs/4-Usage.md | |
parent | 105d083165b263851edfcd3ffb7f64acb888d14b (diff) |
signals.cpp: Make an insensitive string comparisonhalibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.38.0.28.0.18.0.07.99.3
When sending a CAN signal make an case-insensitive comparison as it isn't
necessary to be strict on that, so case insensitive if fine.
Update the documentation accordingly.
Bug-AGL: SPEC-2582
Change-Id: I998b64cdd9a381da3da582aeba42ab726fff1259
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'docs/4-Usage.md')
-rw-r--r-- | docs/4-Usage.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/4-Usage.md b/docs/4-Usage.md index 61ca0689..cdd8d586 100644 --- a/docs/4-Usage.md +++ b/docs/4-Usage.md @@ -216,7 +216,8 @@ low-can subscribe { "event": "doors.driver.open" } ON-REPLY 1:low-can/subscribe: {"jtype":"afb-reply","request":{"status":"success","uuid":"a18fd375-b6fa-4c0e-a1d4-9d3955975ae8"}} ``` -Subscription and unsubscription can take wildcard in their _event_ value. +Subscription and unsubscription can take wildcard in their _event_ value and are +**case-insensitive**. To receive all doors events : @@ -317,9 +318,9 @@ ON-REPLY 2:low-can/list: {"response":["messages.hvac.fan.speed","messages.hvac.t ## Write on CAN buses -A new capability as been introcuded to be able to write on handled CAN buses. Two modes could be used for that which is either specifying the CAN bus and a -*RAW* CAN message either by specifying a defined signal and its value. +*RAW* CAN message either by specifying a defined signal, **case-insensitively**, +and its value. Examples: |