summaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_apidef.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-05 01:34:33 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-10-12 13:06:17 +0200
commit81e5dad8294f20c3cb69383d0a6e8b04c3579094 (patch)
tree30696d9b4bf681ec7e02ca3667ddd6f8a20376d4 /ucs2-afb/ucs_apidef.h
parent81124d50004ee8c0a141771c4b59a79b1a9ec4f1 (diff)
External mXML project library inclusion
Change-Id: I7ed0a21f3aa79cc007ff224eec66a048f53ba98f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ucs2-afb/ucs_apidef.h')
-rw-r--r--ucs2-afb/ucs_apidef.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/ucs2-afb/ucs_apidef.h b/ucs2-afb/ucs_apidef.h
index 876ac89..f8e9c9c 100644
--- a/ucs2-afb/ucs_apidef.h
+++ b/ucs2-afb/ucs_apidef.h
@@ -60,37 +60,43 @@ static const struct afb_verb_v2 _afb_verbs_v2_UNICENS[] = {
.verb = "listconfig",
.callback = ucs2_listconfig,
.auth = &_afb_auths_v2_UNICENS[0],
- .info = NULL,
+ .info = "List Config Files",
.session = AFB_SESSION_NONE_V2
},
{
.verb = "initialise",
.callback = ucs2_initialise,
.auth = &_afb_auths_v2_UNICENS[0],
- .info = NULL,
+ .info = "configure Unicens2 lib from NetworkConfig.XML.",
.session = AFB_SESSION_NONE_V2
},
{
.verb = "subscribe",
.callback = ucs2_subscribe,
.auth = &_afb_auths_v2_UNICENS[1],
- .info = NULL,
+ .info = "Subscribe to UNICENS Events.",
.session = AFB_SESSION_NONE_V2
},
{
.verb = "writei2c",
.callback = ucs2_writei2c,
.auth = &_afb_auths_v2_UNICENS[1],
- .info = NULL,
+ .info = "Writes I2C command to remote node.",
.session = AFB_SESSION_NONE_V2
},
- { .verb = NULL }
+ {
+ .verb = NULL,
+ .callback = NULL,
+ .auth = NULL,
+ .info = NULL,
+ .session = 0
+ }
};
const struct afb_binding_v2 afbBindingV2 = {
.api = "UNICENS",
.specification = _afb_description_v2_UNICENS,
- .info = NULL,
+ .info = "",
.verbs = _afb_verbs_v2_UNICENS,
.preinit = NULL,
.init = NULL,