summaryrefslogtreecommitdiffstats
path: root/htdocs/ucs-controller.html
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2019-11-19 11:38:54 +0100
committerTobias Jahnke <tobias.jahnke@microchip.com>2019-11-19 11:38:54 +0100
commit20673bf035ab8935c18d6b4fc8e22dcd4b89b3d8 (patch)
tree5fea837bce48f6a2a363a402c62abfa45eb92407 /htdocs/ucs-controller.html
parente91eaa18befd14446d280311c9bd5c05f29801f0 (diff)
- add new mode "static" - adjust color in static mode - set direction LED - get availability of microphone Bug-AGL: SPEC-2971 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com> Change-Id: I19ee90de2f1868c197f844bb065fcfbf2a65d694
Diffstat (limited to 'htdocs/ucs-controller.html')
-rw-r--r--htdocs/ucs-controller.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/htdocs/ucs-controller.html b/htdocs/ucs-controller.html
index 0de6c57..a7a116a 100644
--- a/htdocs/ucs-controller.html
+++ b/htdocs/ucs-controller.html
@@ -92,17 +92,31 @@ limitations under the License.
<li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'error'})">Error</button></li>
<li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'waking'})">Waking</button></li>
<li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'ending'})">Ending</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'static'})">Static</button></li>
<li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'cylon'})">Cylon</button></li>
<li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'rainbow'})">Rainbow</button></li>
<li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'wheel'})">Wheel</button></li>
<li><button onclick="callbinder('unicens-controller','microphone_mode_set', {'value': 'unknown'})">Unknown</button></li>
</ol>
</div>
+ <h3>General</h3>
+ <div>
+ <ol>
+ <li><button onclick="callbinder('unicens-controller','microphone_is_available', {})">Is Available?</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_static_color_set', {'red':255,'green':0,'blue':0})">Set Static Mode Color: Red</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_static_color_set', {'red':0,'green':255,'blue':0})">Set Static Mode Color: Green</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_static_color_set', {'red':0,'green':0,'blue':255})">Set Static Mode Color: Blue</button></li>
+ </ol>
+ </div>
<h3>DOA</h3>
<div>
<ol>
<li><button onclick="callbinder('unicens-controller','microphone_doa_get', {})">Get direction of audio (DOA)</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_doa_set', {'value': 0})">Set direction of audio 0 (DOA/LED)</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_doa_set', {'value': 90})">Set direction of audio 90 (DOA/LED)</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_doa_set', {'value': 180})">Set direction of audio 180 (DOA/LED)</button></li>
+ <li><button onclick="callbinder('unicens-controller','microphone_doa_set', {'value': 270})">Set direction of audio 270 (DOA/LED)</button></li>
</ol>
</div>