• Send GET_ID to request slave identification metadata (e.g. A2L filename or ASCII text).

    Parameters

    • handle: string

      Connection handle returned by XcpCreateConnection.

    • mode: number

      Identification type requested (0 = ASCII text, 1 = ASAM-MC2 filename without path/ext, etc.).

    Returns Promise<GetIdResponse>

    Parsed GetIdResponse.

    If mode bit 0 is clear, read the identification bytes afterwards with XcpUpload or XcpUploadBytes, or use XcpReadId to perform both steps automatically.

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