Siddalingesh Angadi
Siddalingesh Angadi

Reputation: 1

pynetdicom on_association_requested() get request type (C_FIND, C_ECHO etc)

I'm not able to find the variable that holds the Message Type in event name, "on_association_requested" and "on_association_released" methods. If we give event.event.name it results in "EVT_REQUESTED" or "EVT_RELEASED".

INCOMING DIMSE MESSAGE

D: Message Type : C-ECHO RQ

D: Presentation Context ID : 1

D: Message ID : 1

D: Data Set : None

END OF DIMSE MESSAGE

I tried to get the Message Type, I was not able to find how.

Upvotes: 0

Views: 135

Answers (1)

scaramallion
scaramallion

Reputation: 1330

There is no DIMSE message type during association request. Only after an association has already been through request and acceptance are DIMSE messages allowed to be sent.

Upvotes: 0

Related Questions