pdcomm::respondFormattedProgramCapability
Function
Answers a received S7F21 with S7F22 built from the current catalog.
inline void respondFormattedProgramCapability(GemEndpoint &endpoint, GemResult &result)Repeating the call after a successful response does nothing and succeeds.
Parameters
| Name | Description |
|---|---|
endpoint | Equipment endpoint in GemCommunication::Communicating. |
result | Result with GemOutcome::FormattedProgramCapabilityReceived. |
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEon a host, when not communicating or when no catalog is set;PDCOMM_STALE_TOKENfor a stale result;PDCOMM_BACKPRESSUREwhen the reply cannot be queued (retry later). - This call changes
result; do not run it concurrently with getters on it.