mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
UHD hosts <4.10 speak mprpc and unconditionally connect to the RPC port (49601) of any device they discover. When they reach a gRPC-based MPM device, the protocol mismatch crashes uhd_find_device. UHd host 4.10, prevents this by using rpc_version key from discovery response and skips RPC attempt if mprpc device found during uhd_find_devices. This change moves the RPC port to 49602. Now, old UHD <4.10 hosts can still discover both mprpc and grpc devices. But their mprpc connection attempt on 49601 during uhd_find_devices is refused by grpc device (running on new rpc port 49602) and is marked as not reachable instead of crashing. |
||
|---|---|---|
| .. | ||
| cmake/Modules | ||
| include | ||
| lib | ||
| python | ||
| systemd | ||
| tests | ||
| tools | ||
| .gitignore | ||
| CMakeLists.txt | ||