OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module bluetooth.mojom; |
| 6 |
| 7 // FakeBluetooth and its related interfaces allow clients to control the global |
| 8 // Bluetooth State as well as simulate Bluetooth events including finding new |
| 9 // devices, simulating GATT attributes and its descendants, and simulating |
| 10 // success and error responses. |
| 11 |
| 12 // FakeBluetooth allows clients to control the global Bluetooth state. |
| 13 interface FakeBluetooth { |
| 14 // Set it to indicate whether the platform supports BLE. For example, Windows |
| 15 // 7 is a platform that doesn't support Low Energy. On the other hand Windows |
| 16 // 10 is a platform that does support LE, even if there is no Bluetooth radio |
| 17 // available. |
| 18 SetLESupported(bool available) => (); |
| 19 }; |
OLD | NEW |