Skip to content
Start free evaluation

pdcomm_gem_program_directory

Function

Sends a header-only S7F19 current EPPD request (Host only).

PdcommStatus pdcomm_gem_program_directory(PdcommTcpEndpoint *endpoint, PdcommTcpToken *out_token)

Declared in: #include <pdcomm_gem_programs.h>

The S7F20 directory arrives as a #PDCOMM_GEM_PROGRAM_DIRECTORY_RECEIVED result. Requirements are as for pdcomm_gem_program_grant(); the request carries no PPIDs.

Parameters

NameDescription
endpointCommunicating GEM Host endpoint with a program store.
out_tokenReceives the request token; zero after every failure. Must not be NULL.

Returns

As pdcomm_gem_program_grant(); #PDCOMM_INVALID_STATE also when the endpoint is not a GEM Host.