aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/UNICENS.html
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2017-12-12 18:33:35 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-13 22:41:04 +0000
commit8ecffe674aea1c19509d2b2b58566d7434cadec0 (patch)
tree5fbe510d047b81e96dbd36d2e6c8705bcfc9b387 /htdocs/UNICENS.html
parent152d0a794b10b5fcd3e4d65aa355c3e563158ffe (diff)
ucs_binding.c: Add control message transmission
Bug-AGL: SPEC-1177 Support control message transmission to other network devices via json api. Change-Id: I22af427471a379f819e626ea4d746f78f3e37a6a Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'htdocs/UNICENS.html')
-rw-r--r--htdocs/UNICENS.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/htdocs/UNICENS.html b/htdocs/UNICENS.html
index ddcb52b..a2cdb28 100644
--- a/htdocs/UNICENS.html
+++ b/htdocs/UNICENS.html
@@ -8,13 +8,13 @@
<body onload="init('ucs2_config','unicens', 'listconfig');">
<h1>Unicens Simple Test</h1>
-
+
<button id="connected" onclick="init('ucs2_config','unicens', 'listconfig')">Binder WS Fail</button>
<br><br>
<b>Selected HAL </b>
<select id='ucs2_config'></select>
<br>
-
+
<ol>
<li><button onclick="callbinder('UNICENS','subscribe', {})">Subscribe to events</button></li>
<li><button onclick="callbinder('UNICENS','initialise', {filename:ucs2_config})">Parse XML and Start UNICENS</button></li>
@@ -36,6 +36,9 @@
<li><button onclick="callbinder('UNICENS','writei2c', {node: 0x271, data:[0x07,0x03,0xFF]})">WriteI2c to 0x271 (mute)</button></li>
<li><button onclick="callbinder('UNICENS','writei2c', {node: 0x272, data:[0x07,0x03,0xFF]})">WriteI2c to 0x272 (mute)</button></li>
</ol>
+ <ol>
+ <li><button onclick="callbinder('UNICENS','sendmessage', {node: 0x270, msgid: 0x5AC4, data:[0x01,0x02,0xFF]})">Send ControlMsg to 0x270</button></li>
+ </ol>
<br>
<br>
<div id="main" style="visibility:hidden">