CGetSCP throw errors when all PresentationContext set as scp role

Issue #336 invalid
Former user created an issue

throw error "Wrong role for the selected presentation context"!

    imebra::PresentationContexts presentationContexts;
    for (const std::string &abstractSyntax:  abstractSyntaxes) { 
            imebra::PresentationContext context(abstractSyntax, true, true);
            for (const std::string &transferSyntax: scpHandlers::transferSyntaxes) {
                context.addTransferSyntax(transferSyntax);
            }
            presentationContexts.addPresentationContext(context); 
    }

Comments (2)

  1. Paolo Brandoli repo owner

    Can you be more specific?

    The test dimseTest.getSCUSCP in the file dimseTest.cpp succeeds.

  2. Log in to comment