pdcomm_gem_result_formatted_program_info
Function
Reads the summary of a verification report result.
PdcommStatus pdcomm_gem_result_formatted_program_info(const PdcommGemResult *result, PdcommGemFormattedProgramInfo *info)Works for the host's received S7F27 and for the equipment's S7F28 acknowledge result.
Parameters
| Name | Description |
|---|---|
result | GEM result. |
info | Caller storage; set info->struct_size first. On success every field is written and struct_size receives the size written. |
Returns
#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when result or info is NULL or info->struct_size is too small; #PDCOMM_INVALID_STATE when result is not a verification report result (for example a #PDCOMM_GEM_FAILED result); #PDCOMM_INTERNAL_ERROR when a panic was contained.
Notes
- Thread safety: result accessors may run concurrently with each other, but not with pdcomm_gem_formatted_program_respond() or pdcomm_gem_result_destroy() on the same result.