|
5 | 5 | "callsign": "BluetoothRemoteControl", |
6 | 6 | "locator": "libThunderBluetoothRemoteControl.so", |
7 | 7 | "status": "alpha", |
8 | | - "description": "The Bluetooth Remote Control plugin allows configuring and enabling Bluetooth remote control units.", |
9 | | - "version": "1.0" |
| 8 | + "description": "The Bluetooth Remote Control plugin allows configuring and enabling Bluetooth LE remote control units.", |
| 9 | + "version": "1.0", |
| 10 | + "acronyms": { |
| 11 | + "ADPCM": "Adaptive Pulse-code Modulation", |
| 12 | + "BLE": "Bluetooth Low Energy", |
| 13 | + "GATT": "Generic Attribute Profile", |
| 14 | + "PCM": "Pulse-code Modulation", |
| 15 | + "UUID": "Universally Unique Identifier", |
| 16 | + "WAV": "Waveform Audio File Format" |
| 17 | + } |
10 | 18 | }, |
11 | 19 | "configuration": { |
12 | 20 | "type": "object", |
|
17 | 25 | "properties": { |
18 | 26 | "controller": { |
19 | 27 | "type": "string", |
20 | | - "description": "Controller" |
| 28 | + "description": "Name of the Bluetooth controller service (default: *BluetoothControl*)" |
21 | 29 | }, |
22 | 30 | "keymap": { |
23 | 31 | "type": "string", |
24 | | - "description": "Keymap" |
| 32 | + "description": "Keymap name" |
25 | 33 | }, |
26 | 34 | "keyingest": { |
27 | 35 | "type": "boolean", |
28 | | - "description": "Enable keyingest" |
| 36 | + "description": "Enable key ingestion" |
| 37 | + }, |
| 38 | + "serviceuuid": { |
| 39 | + "type": "string", |
| 40 | + "description": "UUID of the voice control GATT service" |
| 41 | + }, |
| 42 | + "commanduuid": { |
| 43 | + "type": "string", |
| 44 | + "description": "UUID of the voice control command GATT characteristic" |
| 45 | + }, |
| 46 | + "datauuid": { |
| 47 | + "type": "string", |
| 48 | + "description": "UUID of the voice control data GATT characteristic" |
29 | 49 | }, |
30 | 50 | "recorder": { |
31 | | - "type": "enum", |
32 | | - "description": "Recorder" |
| 51 | + "type": "string", |
| 52 | + "enum": [ "off","single", "sequenced", "single_persist", "sequenced_persist" ], |
| 53 | + "description": "Enable voice data recording (debug purposes) to WAV file" |
| 54 | + }, |
| 55 | + "audiobuffersize": { |
| 56 | + "type": "integer", |
| 57 | + "description": "Size of the audio buffer in miliseconds (if not set then determined automatically)" |
| 58 | + }, |
| 59 | + "firstaudiochunksize": { |
| 60 | + "type": "integer", |
| 61 | + "description": "Size of the first audio transmission notification in miliseconds" |
| 62 | + }, |
| 63 | + "audiochunksize": { |
| 64 | + "type": "integer", |
| 65 | + "description": "Size of the audio transmission notifications in miliseconds (if not set then audio data is not buffered)" |
| 66 | + }, |
| 67 | + "audioprofile": { |
| 68 | + "type": "object", |
| 69 | + "properties": { |
| 70 | + "samplerate": { |
| 71 | + "type": "integer", |
| 72 | + "description": "Audio data sample rate in Hz (e.g. 16000)" |
| 73 | + }, |
| 74 | + "channels": { |
| 75 | + "type": "integer", |
| 76 | + "description": "Number of audio channels (e.g. 1 for mono stream)" |
| 77 | + }, |
| 78 | + "resolution": { |
| 79 | + "type": "integer", |
| 80 | + "description": "Audio samples resolution in bits (e.g. 16)" |
| 81 | + } |
| 82 | + } |
33 | 83 | } |
34 | 84 | } |
35 | 85 | } |
36 | 86 | } |
37 | 87 | }, |
38 | 88 | "interface": { |
39 | | - "$ref": "{interfacedir}/BluetoothRemoteControl.json#" |
| 89 | + "$ref": "{interfacedir}/IBluetoothRemoteControl.h" |
40 | 90 | } |
41 | 91 | } |
0 commit comments