CGetSCP throw errors when all PresentationContext set as scp role
Issue #336
invalid
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)
-
repo owner -
repo owner - changed status to invalid
Cannot reproduce.
- Log in to comment
Can you be more specific?
The test dimseTest.getSCUSCP in the file dimseTest.cpp succeeds.