aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_binding.c
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-07-20 22:10:58 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-07-20 22:10:58 +0200
commit01a3f74a836d769f7af9bb2dc4fa631b07b881fb (patch)
treea5ac67035e3031a9d0dd2e12efd92fddf1e7a559 /ucs2-afb/ucs_binding.c
parent359083b3a1852e0993dd657d74354955ef25ee44 (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.c9
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