Skip to content

fix protocol detection for undiscoverable devices#1159

Merged
matlabbe merged 1 commit intointrolab:masterfrom
borongyuan:master
Nov 16, 2023
Merged

fix protocol detection for undiscoverable devices#1159
matlabbe merged 1 commit intointrolab:masterfrom
borongyuan:master

Conversation

@borongyuan
Copy link
Copy Markdown
Contributor

In some network topologies PoE cameras cannot be discovered using getAllAvailableDevices(). But if their IPs are manually specified, they are actually accessible. This fix allows us to use these cameras. But there are still some small problems. For example, we cannot guarantee that the PoE camera is actually found before dai::Device is initialized. This is because there is only getDeviceByMxId() in the API, but not getDeviceByName(). Before dai::Device is initialized, its protocol cannot be detected.

@matlabbe
Copy link
Copy Markdown
Member

Great, thx!

@matlabbe matlabbe merged commit 757d3eb into introlab:master Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants