pdcomm::respondFormattedProgramQuery
Function
Answers a received S7F25 with S7F26 from the formatted program store.
inline void respondFormattedProgramQuery(GemEndpoint &endpoint, GemResult &result)The answer is fixed when it is first prepared: the stored program, or an empty list when the PPID is unknown. Repeating the call after a successful response does nothing and succeeds.
Parameters
| Name | Description |
|---|---|
endpoint | Equipment endpoint in GemCommunication::Communicating. |
result | Result with GemOutcome::FormattedProgramQueryReceived. |
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEon a host or when not communicating;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.