• Subscribe to a BLE characteristic

    Parameters

    • characteristic: string

      UUID of the characteristic to subscribe to

    • service: null | string
    • handler: ((data: number[]) => void)

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

        • (data): void
        • Parameters

          • data: number[]

          Returns void

    Returns Promise<void>