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 /README.md | |
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 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -11,15 +11,19 @@ The name of the provided API is `unicens-controller`. |-----------------------------|-----------------------------------------------|-------------------------------------------------------------------| | slimamp_master_volume_set | Set master volume of the slim amplifer. | *Request:* { "value": 0 }<br>Valid range for `value`: 0..100 | | amplifier_master_volume_set | Set master volume of the Fiberdyne amplifer. | *Request:* { "value": 0 }<br>Valid range for `value`: 0..100 | +| microphone_is_available | Check if the microphone present in network. | *Request:* {}<br>*Response*: { "available": true } | | microphone_mode_set | Set LED mode of microphone. | See section *Verb microphone_mode_set* | -| microphone_doa_get | Get the direction of audio. | *Request:* {}<br>*Response*: { "value": 45 }<br>Valid range for `value`: 0..359 | +| microphone_doa_get | Get the direction of audio. | *Request:* {}<br>*Response*: { "value": 45 }<br>Valid range for `value`: 0..359 | +| microphone_doa_set | Sets the direction of audio (LED). | *Request:* { "value": 45 }<br>Valid range for `value`: 0..359 | +| microphone_static_color_set | Sets color of 'static' LED Mode. | *Request:* { "red": 0, "green": 0, "blue": 255 }<br>Valid range for each color: 0..255 | + ### Verb microphone_mode_set You can set an LED signaling mode with the following parameters. | Name | Description | |---------------|---------------------------------------------------------------------------------------| -| value | none, doa, thinking, speaking, error, waking, ending, cylon, rainbow, wheel | +| value | none, doa, thinking, speaking, error, waking, ending, static, cylon, rainbow, wheel | ## Events None. |