Skip to content
Start free evaluation

pdcomm::gemEnhancedCommandOptions

Function

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

inline PdcommGemEnhancedCommandOptions gemEnhancedCommandOptions(size_t maxObjects, size_t maxObjectBytes, size_t maxTotalObjectBytes, size_t maxCommandsPerObject, size_t maxTotalCommands, size_t maxParametersPerCommand, size_t maxTotalParameters, size_t maxIdentifierBytes, size_t maxTotalIdentifierBytes, size_t maxErrors, size_t maxRequestValueBytes, const PdcommSecsLimits &itemLimits)

Declared in: #include <pdcomm_gem.hpp>

Parameters

NameDescription
maxObjectsMaximum objects.
maxObjectBytesMaximum bytes of one object specifier.
maxTotalObjectBytesMaximum object specifier bytes across the store.
maxCommandsPerObjectMaximum commands of one object.
maxTotalCommandsMaximum commands across all objects.
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 nonzero acknowledgement leaves in one S2F50 reply.
maxRequestValueBytesMaximum value bytes accepted in one S2F49 request.
itemLimitsSECS-II limits for enhanced command items.

Returns

Options with struct_size and version set.