Skip to content
Start free evaluation

pdcomm::prepareFormattedProgramVerificationNegotiation

Function

Prepares an S7F27 report for negotiation on the equipment, without sending anything.

inline GemResult prepareFormattedProgramVerificationNegotiation(GemEndpoint &endpoint, const SecsItem &id, const std::vector<GemFormattedProgramVerificationNegotiationIssue> &issues)

Declared in: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

The PPID and entries are copied and encoded, and LENGTH is computed from the encoded body. Pass the returned result to submitFormattedProgramVerificationNegotiation().

Parameters

NameDescription
endpointEquipment endpoint in GemCommunication::Communicating.
idPPID: a non-empty ASCII or Binary item.
issuesVerification entries of the report.

Returns

The prepared result; keep it until the negotiation finishes.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE on a host, without configuration or when not communicating; PDCOMM_INVALID_ARGUMENT for an invalid PPID or entry; PDCOMM_LIMIT_EXCEEDED when limits or maxPrepared are exceeded.