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. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| mpmd_devices.hpp | ||
| mpmd_find.cpp | ||
| mpmd_image_loader.cpp | ||
| mpmd_impl.cpp | ||
| mpmd_impl.hpp | ||
| mpmd_link_if_ctrl_base.hpp | ||
| mpmd_link_if_ctrl_udp.cpp | ||
| mpmd_link_if_ctrl_udp.hpp | ||
| mpmd_link_if_mgr.cpp | ||
| mpmd_link_if_mgr.hpp | ||
| mpmd_mb_controller.cpp | ||
| mpmd_mb_iface.cpp | ||
| mpmd_mb_iface.hpp | ||
| mpmd_mboard_impl.cpp | ||
| mpmd_prop_tree.cpp | ||
| sim_find.cpp | ||