From 20673bf035ab8935c18d6b4fc8e22dcd4b89b3d8 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Tue, 19 Nov 2019 11:38:54 +0100 Subject: unicens-controller: add new API for microphone - 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 Change-Id: I19ee90de2f1868c197f844bb065fcfbf2a65d694 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6fdd75d..4a1e07c 100644 --- a/README.md +++ b/README.md @@ -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 }
Valid range for `value`: 0..100 | | amplifier_master_volume_set | Set master volume of the Fiberdyne amplifer. | *Request:* { "value": 0 }
Valid range for `value`: 0..100 | +| microphone_is_available | Check if the microphone present in network. | *Request:* {}
*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:* {}
*Response*: { "value": 45 }
Valid range for `value`: 0..359 | +| microphone_doa_get | Get the direction of audio. | *Request:* {}
*Response*: { "value": 45 }
Valid range for `value`: 0..359 | +| microphone_doa_set | Sets the direction of audio (LED). | *Request:* { "value": 45 }
Valid range for `value`: 0..359 | +| microphone_static_color_set | Sets color of 'static' LED Mode. | *Request:* { "red": 0, "green": 0, "blue": 255 }
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. -- cgit 1.2.3-korg