Classes
BluetoothUUID
Utility for converting between 16/32-bit Bluetooth SIG aliases and canonical 128-bit UUID strings.
See
https://developer.mozilla.org/docs/Web/API/BluetoothUUID
Constructors
new BluetoothUUID()
new BluetoothUUID(): BluetoothUUID
Returns
Methods
canonicalUUID()
static canonicalUUID(alias): string
Returns the canonical 128-bit UUID for a 16/32-bit Bluetooth alias.
Parameters
| Parameter | Type |
|---|---|
alias | number |
Returns
string
getCharacteristic()
static getCharacteristic(name): string
Parameters
| Parameter | Type |
|---|---|
name | string | number |
Returns
string
getDescriptor()
static getDescriptor(name): string
Parameters
| Parameter | Type |
|---|---|
name | string | number |
Returns
string
getService()
static getService(name): string
Parameters
| Parameter | Type |
|---|---|
name | string | number |
Returns
string