• Subscribe to a BLE characteristic

    Parameters

    • characteristic: string

      UUID of the characteristic to subscribe to

    • handler: ((data: Uint8Array<ArrayBufferLike>) => void)

      Callback function that will be called with the data received for every notification

        • (data): void
        • Parameters

          • data: Uint8Array<ArrayBufferLike>

          Returns void

    Returns Promise<void>