OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // The <code>chrome.bluetoothLowEnergy</code> API is used to communicate with | 5 // The <code>chrome.bluetoothLowEnergy</code> API is used to communicate with |
6 // Bluetooth Smart (Low Energy) devices using the | 6 // Bluetooth Smart (Low Energy) devices using the |
7 // <a href="https://developer.bluetooth.org/TechnologyOverview/Pages/GATT.aspx"> | 7 // <a href="https://developer.bluetooth.org/TechnologyOverview/Pages/GATT.aspx"> |
8 // Generic Attribute Profile (GATT)</a>. | 8 // Generic Attribute Profile (GATT)</a>. |
9 namespace bluetoothLowEnergy { | 9 namespace bluetoothLowEnergy { |
10 // Values representing the possible properties of a characteristic. | 10 // Values representing the possible properties of a characteristic. |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 | 290 |
291 // Fired when the value of a remote GATT characteristic descriptor changes, | 291 // Fired when the value of a remote GATT characteristic descriptor changes, |
292 // usually as a result of a read request. This event exists | 292 // usually as a result of a read request. This event exists |
293 // mostly for convenience and will always be sent after a successful | 293 // mostly for convenience and will always be sent after a successful |
294 // call to $(ref:readDescriptorValue). | 294 // call to $(ref:readDescriptorValue). |
295 // |descriptor| : The GATT characteristic descriptor whose value has | 295 // |descriptor| : The GATT characteristic descriptor whose value has |
296 // changed. | 296 // changed. |
297 static void onDescriptorValueChanged(Descriptor descriptor); | 297 static void onDescriptorValueChanged(Descriptor descriptor); |
298 }; | 298 }; |
299 }; | 299 }; |
OLD | NEW |