콘텐츠로 이동
무료 평가 시작

pdcomm::configureFormattedProgramVerificationNegotiation

함수

끝점(endpoint)에서 S7F29/F30 검증 협상을 활성화합니다.

inline void configureFormattedProgramVerificationNegotiation(GemEndpoint &endpoint, const PdcommGemFormattedProgramVerificationNegotiationOptions &options)

선언 위치: #include <pdcomm_gem_formatted_program_verification_negotiation.hpp>

끝점이 중지된 상태에서 역할을 구성한 뒤 한 번 호출합니다. 허가하는 호스트는 뒤따르는 S7F27 보고서를 받으려면 configureFormattedPrograms()도 호출해야 합니다.

const auto negotiation = pdcomm::gemFormattedProgramVerificationNegotiationOptions(
    4, 16, 32, 2, 1, 2, 2, 4);
const auto reports = pdcomm::gemFormattedProgramOptions(4, 16, 32, 2, 2, 4, 4);
pdcomm::configureFormattedProgramVerificationNegotiation(equipment, negotiation);
pdcomm::configureFormattedPrograms(host, reports);
pdcomm::configureFormattedProgramVerificationNegotiation(host, negotiation);

매개변수

이름설명
endpoint호스트 또는 장비 끝점입니다.
optionsgemFormattedProgramVerificationNegotiationOptions()로 만든 한도입니다.

참고

  • 예외 pdcomm::Error: 끝점이 중지되지 않았거나, 역할이 없거나, 이미 구성되었으면 PDCOMM_INVALID_STATE, 옵션이 잘못되면 PDCOMM_INVALID_ARGUMENT입니다.