aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-07 17:43:08 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-07 17:43:08 +0200
commit984d8e2e70b686ad5f4450805d2f1d6f7c306094 (patch)
tree83f69c416462d484767fb83b99b9ce840bc51518
parente664137cd8fb59b02be02f075a78ca3eabdb6459 (diff)
Fix change in binder add new info field in structs
Change-Id: I25a11d52588490f0f7e680643c68a8026e0888d2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--high-can-binding/high-can-binding-hat.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/high-can-binding/high-can-binding-hat.cpp b/high-can-binding/high-can-binding-hat.cpp
index 71dd3b7..4a5e348 100644
--- a/high-can-binding/high-can-binding-hat.cpp
+++ b/high-can-binding/high-can-binding-hat.cpp
@@ -6,15 +6,16 @@ static int init_service();
static const struct afb_verb_v2 verbs[]=
{
- { .verb= "subscribe", .callback= subscribe, .auth = NULL, .session = 0 },
- { .verb= "unsubscribe", .callback= unsubscribe, .auth = NULL, .session = 0 },
- { .verb= "get", .callback= get, .auth = NULL, .session = 0 },
- { .verb= NULL, .callback=NULL, .auth = NULL, .session = 0 }
+ { .verb= "subscribe", .callback= subscribe, .auth = NULL, .info = "subscribe to an ViWi object", .session = 0 },
+ { .verb= "unsubscribe", .callback= unsubscribe, .auth = NULL, .info = "unsubscribe to a ViWi object", .session = 0 },
+ { .verb= "get", .callback= get, .auth = NULL, .info = "Get informations about a resource or element", .session = 0 },
+ { .verb= NULL, .callback=NULL, .auth = NULL, .info = NULL, .session = 0 }
};
const struct afb_binding_v2 afbBindingV2 = {
.api = "high-can",
.specification = "",
+ .info = "High CAN ViWi API connected to low-can AGL service",
.verbs = verbs,
.preinit = NULL,
.init = init_service,