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)Parameters
| Name | Description |
|---|---|
maxObjects | Maximum objects. |
maxObjectBytes | Maximum bytes of one object specifier. |
maxTotalObjectBytes | Maximum object specifier bytes across the store. |
maxCommandsPerObject | Maximum commands of one object. |
maxTotalCommands | Maximum commands across all objects. |
maxParametersPerCommand | Maximum parameters of one command. |
maxTotalParameters | Maximum parameters across all commands. |
maxIdentifierBytes | Maximum bytes of one command or parameter name. |
maxTotalIdentifierBytes | Maximum name bytes across the store. |
maxErrors | Maximum nonzero acknowledgement leaves in one S2F50 reply. |
maxRequestValueBytes | Maximum value bytes accepted in one S2F49 request. |
itemLimits | SECS-II limits for enhanced command items. |
Returns
Options with struct_size and version set.