OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "bluetoothPrivate", | 3 "namespace": "bluetoothPrivate", |
4 "description": " Use the <code>chrome.bluetoothPrivate</code> API to control
the Bluetooth\n adapter state and handle device pairing.", | 4 "description": " Use the <code>chrome.bluetoothPrivate</code> API to control
the Bluetooth\n adapter state and handle device pairing.", |
5 "compiler_options": { | 5 "compiler_options": { |
6 "implemented_in": "extensions/browser/api/bluetooth/bluetooth_private_api.
h" | 6 "implemented_in": "extensions/browser/api/bluetooth/bluetooth_private_api.
h" |
7 }, | 7 }, |
8 "functions": [ | 8 "functions": [ |
9 { | 9 { |
10 "name": "setAdapterState", | 10 "name": "setAdapterState", |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 }, | 213 }, |
214 "passkey": { | 214 "passkey": { |
215 "optional": true, | 215 "optional": true, |
216 "name": "passkey", | 216 "name": "passkey", |
217 "type": "integer", | 217 "type": "integer", |
218 "description": "An integer between 0-999999 set in response to <code
>requestPasskey</code>." | 218 "description": "An integer between 0-999999 set in response to <code
>requestPasskey</code>." |
219 } | 219 } |
220 } | 220 } |
221 }, | 221 }, |
222 { | 222 { |
| 223 "id": "TransportType", |
| 224 "type": "string", |
| 225 "enum": [ "le", "bredr", "dual"] |
| 226 }, |
| 227 { |
223 "type": "object", | 228 "type": "object", |
224 "id": "DiscoveryFilter", | 229 "id": "DiscoveryFilter", |
225 "properties": { | 230 "properties": { |
226 "transport": { | 231 "transport": { |
| 232 "$ref": "TransportType", |
227 "optional": true, | 233 "optional": true, |
228 "name": "transport", | 234 "name": "transport", |
229 "type": "string", | |
230 "enum": [ "le", "bredr", "dual"], | |
231 "description": "Transport type." | 235 "description": "Transport type." |
232 }, | 236 }, |
233 "uuids": { | 237 "uuids": { |
234 "name": "uuids", | 238 "name": "uuids", |
235 "optional": true, | 239 "optional": true, |
236 "choices": [ | 240 "choices": [ |
237 {"type": "string", "name": "uuid of service"}, | 241 {"type": "string", "name": "uuid of service"}, |
238 {"type": "array", "items": {"type": "string"}, "name": "array of
uuids"} | 242 {"type": "array", "items": {"type": "string"}, "name": "array of
uuids"} |
239 ] | 243 ] |
240 }, | 244 }, |
241 "rssi": { | 245 "rssi": { |
242 "optional": true, | 246 "optional": true, |
243 "name": "rssi", | 247 "name": "rssi", |
244 "type": "integer", | 248 "type": "integer", |
245 "description": "RSSI ranging value. Only devices with RSSI higher th
an this value will be reported." | 249 "description": "RSSI ranging value. Only devices with RSSI higher th
an this value will be reported." |
246 }, | 250 }, |
247 "pathloss": { | 251 "pathloss": { |
248 "optional": true, | 252 "optional": true, |
249 "name": "pathloss", | 253 "name": "pathloss", |
250 "type": "integer", | 254 "type": "integer", |
251 "description": "Pathloss ranging value. Only devices with pathloss l
ower than this value will be reported." | 255 "description": "Pathloss ranging value. Only devices with pathloss l
ower than this value will be reported." |
252 } | 256 } |
253 } | 257 } |
254 } | 258 } |
255 ] | 259 ] |
256 } | 260 } |
257 ] | 261 ] |
OLD | NEW |