aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2018-10-09 15:48:22 +0200
committerTobias Jahnke <tobias.jahnke@microchip.com>2018-10-09 15:48:22 +0200
commit04888c6e029eeef7d25c7802cd9020eda9e44aac (patch)
tree025acc6509bd9af5fc0b5f9e562aa56e49def631
parentde9d75e591820b59304b1037faf92a952a6ed7b2 (diff)
agl-service-unicens: modify commands in web-ui
Bug-AGL: SPEC-1759 - Modifies microphone front-end commands in web-ui - new: set color scheme, get direction of audio - modified: set mode, set direction Change-Id: I203d1add6a1ce65662aac6d373e978ed424b7d79 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
-rw-r--r--htdocs/UNICENS.html29
1 files changed, 17 insertions, 12 deletions
diff --git a/htdocs/UNICENS.html b/htdocs/UNICENS.html
index 8badf8d..624052e 100644
--- a/htdocs/UNICENS.html
+++ b/htdocs/UNICENS.html
@@ -79,18 +79,23 @@
<br>
<h1>Microphone Front-End</h1>
- <h2>Mode</h2>
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1000, data:'AQA='})">Off</button><!--01 00 -->
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1000, data:'AQE='})">Idle</button><!--01 01 -->
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1000, data:'AQI='})">Listening</button><!--01 02 -->
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1000, data:'AQM='})">Processing</button><!--01 03 -->
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1000, data:'AQQ='})">Error</button><!--01 04 -->
- <h2>Direction</h2>
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AQAA'})">0</button><!--01 00 00 -->
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AQBa'})">90</button><!--01 00 5A -->
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AQC0'})">180</button><!--01 00 B4 -->
- <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AQEO'})">270</button><!--01 01 0E -->
-
+ <h2>Set Color Scheme</h2>
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1000, data:'AMwAzDP/mf8AAA=='})">#1</button><!--00 CC 00 CC 33 FF 99 FF 00 00 --><!--00 99 33 FF 33 FF 99 FF 00 00 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1000, data:'ADOZ/5n/M/9mZg=='})">#2</button><!--00 33 99 FF 99 FF 33 FF 66 66 -->
+ <h2>Set Mode</h2>
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AAA='})">Off</button><!--00 00 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AAE='})">Idle</button><!--00 01 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AAI='})">Listening</button><!--00 02 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AAM='})">Processing</button><!--00 03 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AAQ='})">Error</button><!--00 04 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1001, data:'AAY='})">DOA</button><!--00 06 -->
+ <h2>Set Direction LED</h2>
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1002, data:'AAAA'})">0</button><!--00 00 00 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1002, data:'AABa'})">90</button><!--00 00 5A -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1002, data:'AAC0'})">180</button><!--00 00 B4 -->
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1002, data:'AAEO'})">270</button><!--00 01 0E -->
+ <h2>Get Direction Of Audio (DOA)</h2>
+ <button class="ucsCtrlButton" onclick="callbinder('UNICENS','sendmessage', {node: 0x520, msgid: 0x1003, data:'AQ=='})">Get DOA</button><!--01 -->
<h1>Fiberdyne Amplifier Controls (Node 0x510)</h1>
<div class="divTable">
<div class="divTableBody">