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

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

Issue 287673002: chrome.bluetoothLowEnergy: Implement the onDescriptorValueChanged event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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_low_energy.idl
diff --git a/chrome/common/extensions/api/bluetooth_low_energy.idl b/chrome/common/extensions/api/bluetooth_low_energy.idl
index 051160b337f7d923a64792b40b3f695d17fdbd04..125181f017e45492ac278b729d8eb97c40214ab5 100644
--- a/chrome/common/extensions/api/bluetooth_low_energy.idl
+++ b/chrome/common/extensions/api/bluetooth_low_energy.idl
@@ -3,7 +3,9 @@
// found in the LICENSE file.
// The <code>chrome.bluetoothLowEnergy</code> API is used to communicate with
-// Bluetooth Smart (Low Energy) devices.
+// Bluetooth Smart (Low Energy) devices using the
+// <a href="https://developer.bluetooth.org/TechnologyOverview/Pages/GATT.aspx">
+// Generic Attribute Profile (GATT)</a>.
namespace bluetoothLowEnergy {
// Values representing the possible properties of a characteristic.
enum CharacteristicProperty {broadcast, read, writeWithoutResponse, write,
@@ -224,5 +226,11 @@ namespace bluetoothLowEnergy {
// indication.
// |characteristic| : The GATT characteristic whose value has changed.
static void onCharacteristicValueChanged(Characteristic characteristic);
+
+ // Fired when the value of a remote GATT characteristic descriptor changes,
+ // usually as a result of a read or write request.
+ // |descriptor| : The GATT characteristic descriptor whose value has
+ // changed.
+ static void onDescriptorValueChanged(Descriptor descriptor);
};
};

Powered by Google App Engine
This is Rietveld 408576698