Skip to content
Start free evaluation

pdcomm_gem_result_formatted_program_transfer_info

Function

Reads the summary of a transfer result.

PdcommStatus pdcomm_gem_result_formatted_program_transfer_info(const PdcommGemResult *result, PdcommGemFormattedProgramTransferInfo *info)

Declared in: #include <pdcomm_gem_formatted_program_transfers.h>

Works for the equipment's received S7F23 and for the host's S7F24 result.

Parameters

NameDescription
resultGEM result.
infoCaller storage; set info->struct_size first. Once the size is accepted, the structure is zeroed and then filled.

Returns

#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when info is NULL, info->struct_size is too small, or result is NULL; #PDCOMM_INVALID_STATE when result is not a transfer result (for example a #PDCOMM_GEM_FAILED or #PDCOMM_GEM_INVALID_RESPONSE result); #PDCOMM_INTERNAL_ERROR when a panic was contained.

Notes

  • Thread safety: result accessors may run concurrently with each other, but not with a respond call or pdcomm_gem_result_destroy() on the same result.