Variable BluetoothUUIDConst

BluetoothUUID: {
    canonicalUUID: ((alias) => string);
    getCharacteristic: ((name) => string);
    getDescriptor: ((name) => string);
    getService: ((name) => string);
} = ...

Type declaration

  • canonicalUUID: ((alias) => string)
      • (alias): string
      • Gets a canonical UUID from a partial UUID in string or hex format

        Parameters

        • alias: string | number

          The partial UUID

        Returns string

        canonical UUID

  • getCharacteristic: ((name) => string)
      • (name): string
      • Gets a canonical characteristic UUID from a known characteristic name or partial UUID in string or hex format

        Parameters

        • name: string | number

          The known characteristic name

        Returns string

        canonical UUID

  • getDescriptor: ((name) => string)
      • (name): string
      • Gets a canonical descriptor UUID from a known descriptor name or partial UUID in string or hex format

        Parameters

        • name: string | number

          The known descriptor name

        Returns string

        canonical UUID

  • getService: ((name) => string)
      • (name): string
      • Gets a canonical service UUID from a known service name or partial UUID in string or hex format

        Parameters

        • name: string | number

          The known service name

        Returns string

        canonical UUID