diff options
Diffstat (limited to 'high-can-binding/high-can-binding-hat.cpp')
-rw-r--r-- | high-can-binding/high-can-binding-hat.cpp | 9 |
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, |