audioscience / avdecc-lib

Simple C++ library for implementing IEEE1722.1 (AVB Device Enumeration, Discovery and Control)
MIT License
79 stars 45 forks source link

Device discovery limit #194

Open gspreeth opened 9 years ago

gspreeth commented 9 years ago

Hi, I have run into an issue where not all avdecc devices on a network can be discovered by the controller. If more than 34 devices are online and the controller starts up you only ever see 34 of them. if you however increase the number of online devices one by one after the controller is running it seems to be fine. It looks to be the same on different switch and device layouts as well. Have not done in depth debugging of the controller or network traffic on this, but does anybody have an idea to what this might be related? Thanks!

Gideon

andrew-elder commented 9 years ago

Something similar to this has been observed, but only for more than 256 devices. 34 devices should not have any issues - at least not from the avdecc-lib side. You should make sure that the end stations are correctly returning UNIMPLEMENTED for unimplemented commands and not just timing out because timing out will cause a retry/resend of the command.