Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1086)

Unified Diff: chrome/common/extensions/api/bluetooth_private.json

Issue 246603008: Expose device RSSI and Tx power via the chrome.bluetooth API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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": [

Powered by Google App Engine
This is Rietveld 408576698