-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dynamic_info responses in GET_DYNAMIC_INFO are not handled separately #141
Comments
Nice catch, bad copy-paste (I know I shouldn't have finish this code during a plugfest). Should be a Regarding the specification, the Edit: |
That does however mean that it should be expected that the |
I don't see any assert related to what you describe. Can you provide the line and assert message? |
Sure. I'm speaking of the assert in avdecc/src/controller/avdeccControllerImpl.cpp Lines 5104 to 5106 in 55ee7d0
Which fires in the context of avdecc/src/controller/avdeccControllerImplHandlers.cpp Lines 555 to 563 in 55ee7d0
where |
Oh right, I see. I couldn't give that code much test and wanted it merged so other manufacturer can start implementing |
As entities fill a
GET_DYNAMIC_INFO
responsesdynamic_infos
field as if eachdynamic_info
was a separate command, it would follow that controllers should also process the responses as such.Currently the first error result will cause all processing to stop:
avdecc/src/controller/avdeccControllerImplHandlers.cpp
Lines 157 to 164 in 55ee7d0
Additionally it is currently expected that if any
dynamic_info
contains an error status, theGET_DYNAMIC_INFO
also has an error status (inprocessGetDynamicInfoFailureStatus()
). While this is (AFAICT) under-specified in 1722.1, I don't think this is a sensible assumption. I would expect that any successfully processedGET_DYNAMIC_INFO
command would have aSUCCESS
response status.The text was updated successfully, but these errors were encountered: