• Send GET_ID and automatically upload the identification bytes if they were not returned inline.

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • type: number

      Identification type requested (same as mode in XcpGetId).

    Returns Promise<{ data: number[]; length: number; mode: number }>

    Object containing mode, length, and the full identification data bytes.

    If the handle is unknown, the slave replies with ERR, or the request times out.