Skip to content
Start free evaluation

pdcomm::gemCommandOptions

Function

Builds versioned limits for the remote command store (GemEquipment::configureCommands()).

inline PdcommGemCommandOptions gemCommandOptions(size_t maxCommands, size_t maxParametersPerCommand, size_t maxTotalParameters, size_t maxIdentifierBytes, size_t maxTotalIdentifierBytes, size_t maxErrors)

Declared in: #include <pdcomm_gem.hpp>

Parameters

NameDescription
maxCommandsMaximum commands.
maxParametersPerCommandMaximum parameters of one command.
maxTotalParametersMaximum parameters across all commands.
maxIdentifierBytesMaximum bytes of one command or parameter name.
maxTotalIdentifierBytesMaximum name bytes across the store.
maxErrorsMaximum issues in one HCACK 3 reply.

Returns

Options with struct_size and version set.