nx.js
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

BluetoothUUID

Methods

canonicalUUID()

static canonicalUUID(alias): string

Returns the canonical 128-bit UUID for a 16/32-bit Bluetooth alias.

Parameters

ParameterType
aliasnumber

Returns

string


getCharacteristic()

static getCharacteristic(name): string

Parameters

ParameterType
namestring | number

Returns

string


getDescriptor()

static getDescriptor(name): string

Parameters

ParameterType
namestring | number

Returns

string


getService()

static getService(name): string

Parameters

ParameterType
namestring | number

Returns

string

On this page