Created
January 26, 2016 09:32
-
-
Save zakorgy/e4359e21290c6907ddfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
// https://webbluetoothcg.github.io/web-bluetooth/#bluetoothgattservice | |
interface BluetoothGATTService { | |
readonly attribute BluetoothDevice device; | |
//readonly attribute UUID uuid; | |
readonly attribute boolean isPrimary; | |
//Promise<BluetoothGATTCharacteristic>getCharacteristic(BluetoothCharacteristicUUID characteristic); | |
//Promise<sequence<BluetoothGATTCharacteristic>>getCharacteristics(optional BluetoothCharacteristicUUID characteristic); | |
//Promise<BluetoothGATTService>getIncludedService(BluetoothServiceUUID service); | |
//Promise<sequence<BluetoothGATTService>>getIncludedServices(optional BluetoothServiceUUID service); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment