Options
All
  • Public
  • Public/Protected
  • All
Menu

Module helpers

Index

Functions

Const getCanonicalUUID

  • getCanonicalUUID(uuid: string | number): string
  • Gets a canonical UUID from a partial UUID in string or hex format

    Parameters

    • uuid: string | number

      The partial UUID

    Returns string

    canonical UUID

Const getCharacteristicUUID

  • getCharacteristicUUID(characteristic: string | number): string
  • Gets a canonical characteristic UUID from a known characteristic name or partial UUID in string or hex format

    Parameters

    • characteristic: string | number

      The known characteristic name

    Returns string

    canonical UUID

Const getDescriptorUUID

  • getDescriptorUUID(descriptor: string | number): string
  • Gets a canonical descriptor UUID from a known descriptor name or partial UUID in string or hex format

    Parameters

    • descriptor: string | number

      The known descriptor name

    Returns string

    canonical UUID

Const getServiceUUID

  • getServiceUUID(service: string | number): string
  • Gets a canonical service UUID from a known service name or partial UUID in string or hex format

    Parameters

    • service: string | number

      The known service name

    Returns string

    canonical UUID