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

Unified Diff: chrome/common/extensions/api/bluetooth.idl

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: Implemented as a property of the Device object 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.idl
diff --git a/chrome/common/extensions/api/bluetooth.idl b/chrome/common/extensions/api/bluetooth.idl
index b42fce4a6ee865e24072fc621fd1bb87555995e6..7589f368fb57c047d2ca6fad65949d194bf33499 100644
--- a/chrome/common/extensions/api/bluetooth.idl
+++ b/chrome/common/extensions/api/bluetooth.idl
@@ -61,6 +61,21 @@ namespace bluetooth {
// Indicates whether the device is currently connected to the system.
boolean? connected;
+ // Indicates the RSSI ("received signal strength indication") of the current
+ // connection to the device, measured in dBm, to a resolution of 1dBm.
+ // This value is only available if the device is currently connected.
+ long? rssi;
+
+ // Indicates the host's current transmit power ("Tx power") for the
+ // connection to the device, measured in dBm, to a resolution of 1dBm.
+ // This value is only available if the device is currently connected.
+ long? currentHostTransmitPower;
+
+ // Indicates the host's maximum transmit power ("Tx power") for the
+ // connection to the device, measured in dBm, to a resolution of 1dBm.
+ // This value is only available if the device is currently connected.
+ long? maximumHostTransmitPower;
+
// UUIDs of protocols, profiles and services advertised by the device.
// For classic Bluetooth devices, this list is obtained from EIR data and
// SDP tables. For Low Energy devices, this list is obtained from AD and

Powered by Google App Engine
This is Rietveld 408576698