The C-STORE example uses the wrong tags to retrieve the SOP class and instance UIDs

Issue #244 closed
Paolo Brandoli repo owner created an issue
imebra::CStoreCommand command(
            "1.2.840.10008.5.1.4.1.1.4.1", //< one of the negotiated abstract syntaxes
            dimse.getNextCommandID(),
            dimseCommandPriority_t::medium,
            payload.getString(TagId(tagId_t::SOPClassUID_0008_0016), 0),
            payload.getString(TagId(tagId_t::SOPInstanceUID_0008_0018), 0),
            "",
            0,
            payload);

should be:

imebra::CStoreCommand command(
            "1.2.840.10008.5.1.4.1.1.4.1", //< one of the negotiated abstract syntaxes
            dimse.getNextCommandID(),
            dimseCommandPriority_t::medium,
            payload.getString(TagId(tagId_t::MediaStorageSOPClassUID_0002_0002), 0),
            payload.getString(TagId(tagId_t::MediaStorageSOPInstanceUID_0002_0003), 0),
            "",
            0,
            payload);

Comments (3)

  1. Log in to comment