pdcomm_gem_result_event_info
Function
Reads the DATAID, CEID, report count, and acknowledgement state of a received S6F11.
PdcommStatus pdcomm_gem_result_event_info(const PdcommGemResult *result, PdcommGemEventInfo *info)Parameters
| Name | Description |
|---|---|
result | Result with outcome #PDCOMM_GEM_EVENT_RECEIVED. |
info | Caller storage; set info->struct_size first. It is written only on success. |
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 received event report; #PDCOMM_INTERNAL_ERROR when a panic was contained.
Notes
- Thread safety: may run concurrently with other read-only getters on the same result.