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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 // this request for a long time may lead to a disconnection. | 556 // this request for a long time may lead to a disconnection. |
557 // This event is only available if the app has both the | 557 // This event is only available if the app has both the |
558 // bluetooth:low_energy and the bluetooth:peripheral permissions set to | 558 // bluetooth:low_energy and the bluetooth:peripheral permissions set to |
559 // true. The peripheral permission may not be available to all apps. | 559 // true. The peripheral permission may not be available to all apps. |
560 // |request|: Request data for this request. | 560 // |request|: Request data for this request. |
561 // |descriptor|: The GATT descriptor whose value is being written. | 561 // |descriptor|: The GATT descriptor whose value is being written. |
562 static void onDescriptorWriteRequest( | 562 static void onDescriptorWriteRequest( |
563 Request request, DOMString descriptorId); | 563 Request request, DOMString descriptorId); |
564 }; | 564 }; |
565 }; | 565 }; |
OLD | NEW |