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)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
| Name | Description |
|---|---|
endpoint | Communicating endpoint configured as GEM Host with spool limits. |
token | Receives 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.