• Write a byte array to a BLE characteristic

    Parameters

    • characteristic: string

      UUID of the characteristic to write to

    • data: number[]

      Data to write to the characteristic

    • writeType: "withResponse" | "withoutResponse" = "withResponse"
    • Optionalservice: string

    Returns Promise<void>