PdcommGemQueryInfo
Struct
Summary of a report query request or response, filled by pdcomm_gem_result_query_info().
typedef struct PdcommGemQueryInfo { ... } PdcommGemQueryInfoMembers
data_id
Field
DATAID from an S6F16 reply; 0 when data_id_present is 0.
uint32_t data_iddata_id_present
Field
1 for an S6F16 reply, which carries a DATAID; otherwise 0.
uint8_t data_id_presentid
Field
Requested ID: the CEID for an event query, otherwise the RPTID.
uint32_t idis_request
Field
1 for a query received by an Equipment, 0 for a response received by a Host.
uint8_t is_requestquery_kind
Field
#PDCOMM_GEM_EVENT_QUERY, #PDCOMM_GEM_INDIVIDUAL_QUERY, or #PDCOMM_GEM_ANNOTATED_QUERY.
uint32_t query_kindreport_count
Field
Number of reports in an S6F16 reply; 0 for requests and for S6F20/S6F22.
size_t report_countresponded
Field
1 after pdcomm_gem_equipment_respond_report_query() sent the reply for this request.
uint8_t respondedstruct_size
Field
Structure size in bytes; set before the call, receives the size written.
size_t struct_sizevalue_count
Field
Number of values: summed over all reports for S6F16, the entry count for S6F20/S6F22, 0 for requests.
size_t value_count