Chromium Code Reviews| Index: chrome/common/extensions/api/bluetooth_private.json |
| diff --git a/chrome/common/extensions/api/bluetooth_private.json b/chrome/common/extensions/api/bluetooth_private.json |
| index 74862d0287e44aae59021988cf735acceb705d81..b754a0568f9c26fe829d0b6a453dc62b62aeeb0c 100644 |
| --- a/chrome/common/extensions/api/bluetooth_private.json |
| +++ b/chrome/common/extensions/api/bluetooth_private.json |
| @@ -36,6 +36,29 @@ |
| ], |
| "name": "setPairingResponse", |
| "type": "function" |
| + }, |
| + { |
| + "parameters": [ |
|
not at google - send to devlin
2014/04/23 01:34:13
odd having parameters at the start. same for other
Ilya Sherman
2014/04/23 01:36:00
I thought so too, but was matching the local style
|
| + { |
| + "name": "address", |
| + "type": "string", |
| + "description": "The Bluetooth address of the device." |
| + }, |
| + { |
| + "type": "function", |
| + "name": "callback", |
| + "parameters": [ |
| + { |
| + "name": "rssi", |
| + "type": "integer", |
| + "description": "The RSSI of the device." |
| + } |
| + ] |
| + } |
| + ], |
| + "name": "getDeviceRSSI", |
|
keybuk
2014/04/23 08:59:19
If the RSSI is simply a property of the device, th
Ilya Sherman
2014/04/24 06:45:16
The intent is to be able to poll for the current R
keybuk
2014/04/24 11:25:52
I think both of these things can go in the public
|
| + "type": "function", |
| + "description": "Returns the RSSI of a Bluetooth device." |
| } |
| ], |
| "events": [ |