Skip to content

Commit 5aa48de

Browse files
committed
Update documentation
1 parent 470b031 commit 5aa48de

File tree

3 files changed

+293
-440
lines changed

3 files changed

+293
-440
lines changed

BluetoothRemoteControl/BluetoothRemoteControlJsonRpc.cpp

Lines changed: 0 additions & 270 deletions
This file was deleted.

BluetoothRemoteControl/BluetoothRemoteControlPlugin.json

Lines changed: 58 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@
55
"callsign": "BluetoothRemoteControl",
66
"locator": "libThunderBluetoothRemoteControl.so",
77
"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+
}
1018
},
1119
"configuration": {
1220
"type": "object",
@@ -17,25 +25,67 @@
1725
"properties": {
1826
"controller": {
1927
"type": "string",
20-
"description": "Controller"
28+
"description": "Name of the Bluetooth controller service (default: *BluetoothControl*)"
2129
},
2230
"keymap": {
2331
"type": "string",
24-
"description": "Keymap"
32+
"description": "Keymap name"
2533
},
2634
"keyingest": {
2735
"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"
2949
},
3050
"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+
}
3383
}
3484
}
3585
}
3686
}
3787
},
3888
"interface": {
39-
"$ref": "{interfacedir}/BluetoothRemoteControl.json#"
89+
"$ref": "{interfacedir}/IBluetoothRemoteControl.h"
4090
}
4191
}

0 commit comments

Comments
 (0)