Created
February 4, 2016 10:53
-
-
Save zakorgy/f7e35b80f74bbb76784e 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/#bluetoothuuid | |
interface BluetoothUUID { | |
static UUID getService((DOMString or unsigned long) name); | |
//static UUID getCharacteristic((DOMString or unsigned long) name); | |
//static UUID getDescriptor((DOMString or unsigned long) name); | |
static UUID canonicalUUID([EnforceRange] unsigned long alias); | |
}; | |
typedef DOMString UUID; | |
typedef (DOMString or unsigned long) BluetoothServiceUUID; | |
typedef (DOMString or unsigned long) BluetoothCharacteristicUUID; | |
typedef (DOMString or unsigned long) BluetoothDescriptorUUID; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment