• Send UPLOAD to read count address-granularity elements starting at the current MTA.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • count: number

      Number of elements to upload (integer 0..255, must fit in MAX_CTO).

    Returns Promise<number[]>

    Uploaded data bytes (with CAN/CAN-FD padding and AG alignment bytes removed).

    If count is out of range, the slave replies with ERR, or the request times out.