diff options
author | Tobias Jahnke <tobias.jahnke@microchip.com> | 2017-12-12 18:33:35 +0100 |
---|---|---|
committer | Tobias Jahnke <tobias.jahnke@microchip.com> | 2017-12-12 18:33:35 +0100 |
commit | 5b19a1a8e03704ff178c9f605530c3e3f8fa1134 (patch) | |
tree | d46764ac1c7d6756241736af27fa39fab155d86b /htdocs/UNICENS.html | |
parent | b59d76ac913c15e739f9b65177b6b893a3462db4 (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.html | 7 |
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"> |