diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-07-20 22:10:58 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-07-25 14:58:06 +0200 |
commit | df80e736893306194e657b068d75096a3f142d54 (patch) | |
tree | c1352af3b773c8139c3c2995fd9eedfb207e8967 /ucs2-afb/ucs_binding.c | |
parent | 3f1eae7b3c3e727c55c3252d5f551b9bdd8f285d (diff) |
Initial API-V2 ajusted HTML page to fit new commands names
Diffstat (limited to 'ucs2-afb/ucs_binding.c')
-rw-r--r-- | ucs2-afb/ucs_binding.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c index 8ccc02f..efb4928 100644 --- a/ucs2-afb/ucs_binding.c +++ b/ucs2-afb/ucs_binding.c @@ -380,7 +380,7 @@ STATIC int volSndCmd (struct afb_req request, struct json_object *commandJ, ucsC } -PUBLIC void ucs2SetVol (struct afb_req request) { +PUBLIC void ucs2_volume (struct afb_req request) { struct json_object *queryJ; int err; @@ -423,7 +423,7 @@ PUBLIC void ucs2SetVol (struct afb_req request) { } -PUBLIC void ucs2Configure (struct afb_req request) { +PUBLIC void ucs2_configure (struct afb_req request) { static UcsXmlVal_t *ucsConfig; static ucsContextT ucsContext; @@ -472,3 +472,8 @@ PUBLIC void ucs2Configure (struct afb_req request) { OnErrorExit: return; } + +PUBLIC void ucs2_monitor (struct afb_req request) { + + afb_req_success(request,NULL,"UNICENS-to_be_done"); +}
\ No newline at end of file |