Skip to content
Start free evaluation

pdcomm::completeFormattedProgramExecution

Function

Submits the application's final report with detail bytes from a vector.

inline void completeFormattedProgramExecution(GemEquipment &endpoint, const GemFormattedProgramExecutionToken &token, uint64_t reportId, uint32_t outcome, const std::vector<uint8_t> &detail = {})

Declared in: #include <pdcomm_gem_formatted_program_executions.hpp>

Parameters

NameDescription
endpointEquipment endpoint that runs the execution.
tokenToken of the execution.
reportIdApplication-defined report identifier.
outcomePDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_TERMINAL_* value.
detailApplication detail bytes; may be empty.

Notes

  • Throws pdcomm::Error: Same statuses as the pointer-and-length overload.