Skip to content
Start free evaluation

pdcomm_gem_host_link_reports

Function

Sends a Link Event Report request (S2F35) from a Host.

PdcommStatus pdcomm_gem_host_link_reports(PdcommTcpEndpoint *endpoint, uint32_t data_id, const PdcommGemLinkSpec *specs, size_t count, PdcommTcpToken *out_token)

Declared in: #include <pdcomm_gem_reports.h>

Each spec links reports to one CEID, appended after its existing links. A spec with zero RPTIDs unlinks every report from that event; its enable state is unchanged. The S2F36 reply arrives as #PDCOMM_GEM_RESPONSE with request kind #PDCOMM_GEM_LINK_REPORTS, outcome #PDCOMM_GEM_LINK_REPORTS_ACK, and the LRACK in acknowledgement.

Parameters

NameDescription
endpointHost endpoint.
data_idDATAID sent with the request (U4).
specsArray of count link specs. May be NULL when count is 0.
countNumber of specs.
out_tokenZeroed first; receives the transaction token on success. Must not be NULL.

Returns

The same statuses as pdcomm_gem_host_define_reports().