diff options
author | Tobias Jahnke <tobias.jahnke@microchip.com> | 2019-11-19 11:38:54 +0100 |
---|---|---|
committer | Tobias Jahnke <tobias.jahnke@microchip.com> | 2019-11-19 11:38:54 +0100 |
commit | 20673bf035ab8935c18d6b4fc8e22dcd4b89b3d8 (patch) | |
tree | 5fea837bce48f6a2a363a402c62abfa45eb92407 /htdocs/ucs-controller.html | |
parent | e91eaa18befd14446d280311c9bd5c05f29801f0 (diff) |
unicens-controller: add new API for microphoneicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1
- 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.html | 14 |
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> |