• Write a string to a BLE characteristic

    Parameters

    • characteristic: string

      UUID of the characteristic to write to

    • data: string

      Data to write to the characteristic

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

    Returns Promise<void>