• Write a Uint8Array to a BLE characteristic

    Parameters

    • characteristic: string

      UUID of the characteristic to write to

    • data: Uint8Array<ArrayBufferLike>

      Data to write to the characteristic

    • writeType: "withResponse" | "withoutResponse" = 'withResponse'

    Returns Promise<void>