Skip to content
Start free evaluation

pdcomm_gem_spool_request_query

Function

Sends a header-only S2F59 spool configuration request (Host).

PdcommStatus pdcomm_gem_spool_request_query(PdcommTcpEndpoint *endpoint, PdcommTcpToken *token)

Declared in: #include <pdcomm_gem_spooling.h>

The Equipment answers with S2F60 carrying its current selection (not its catalog), delivered as a #PDCOMM_GEM_SPOOL_CONFIG_DATA result. Requirements and slot sharing are as for pdcomm_gem_spool_request_configure().

Parameters

NameDescription
endpointCommunicating endpoint configured as GEM Host with spool limits.
tokenReceives the request token; zero after every failure. Must not be NULL.

Returns

#PDCOMM_OK when the request was queued; #PDCOMM_INVALID_ARGUMENT when token or endpoint is NULL; #PDCOMM_INVALID_STATE when spool Host limits are not configured or GEM is not Communicating; #PDCOMM_BACKPRESSURE when a staged TCP event is pending or no pending slot is free; #PDCOMM_LIMIT_EXCEEDED, #PDCOMM_ALLOCATION_FAILED, a TCP status, or #PDCOMM_POISONED.