uhd/host/lib/usrp
Martin Braun adfe953d96 uhd: Update ASIO usage to modern style, compatible with Boost 1.87
Starting with Boost 1.66 and the corresponding ASIO version, there were
some changes introduced based on the C++ Networking TS. This includes
changes like replacing io_service with io_context, deprecating some
functions, etc. Starting with Boost 1.87, the old style is no longer
supported.

This commit updates all usage of ASIO in a way that makes UHD compatible
with future versions of ASIO. However, this makes UHD no longer
compatible with Boost 1.65 and below.

Summary of changes:
- Replace asio::io_service with asio::io_context
- Replace asio::io_service::strand with
  asio::strand<asio::io_context::executor_type>
  - This implies using asio::post() instead of asio::strand::post()
- Replace asio::buffer_cast<T>(buf) with static_cast<T>(buf.data())
- Update resolve(query) with new API
- Replace references to endpoint_iterator with resolver::results_type
- Replace ip::address::from_string() with ip::make_address()

Co-authored-by: Jörg Hofrichter <joerg.hofrichter@emerson.com>
2024-12-11 14:37:26 +01:00
..
b100 include: Apply include-what-you-need on include files 2024-07-11 12:47:43 +02:00
b200 lib: Fix deprecated conversions of enums 2024-10-21 17:42:57 +02:00
common Apply clang-formatting to all C/C++ files 2023-08-07 15:35:56 -05:00
cores uhd: Update ASIO usage to modern style, compatible with Boost 1.87 2024-12-11 14:37:26 +01:00
dboard mg: Fix LO query API for lowband LO 2024-11-27 12:22:43 +01:00
mpmd dpdk: set DPDK compile and linker flags at libuhd toplevel 2024-10-02 14:05:42 +02:00
usrp1 uhd: Update ASIO usage to modern style, compatible with Boost 1.87 2024-12-11 14:37:26 +01:00
usrp2 uhd: Update ASIO usage to modern style, compatible with Boost 1.87 2024-12-11 14:37:26 +01:00
x300 uhd: Update ASIO usage to modern style, compatible with Boost 1.87 2024-12-11 14:37:26 +01:00
x400 dpdk: set DPDK compile and linker flags at libuhd toplevel 2024-10-02 14:05:42 +02:00
CMakeLists.txt uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
dboard_base.cpp
dboard_ctor_args.hpp
dboard_eeprom.cpp Apply clang-formatting to all C/C++ files 2023-08-07 15:35:56 -05:00
dboard_eeprom_c.cpp
dboard_id.cpp
dboard_iface.cpp lib: Fix time-cast for dboard_iface::sleep() 2023-07-18 13:03:16 -07:00
dboard_iface_python.hpp
dboard_manager.cpp Apply clang-formatting to all C/C++ files 2023-08-07 15:35:56 -05:00
fe_connection.cpp Apply clang-formatting to all C/C++ files 2023-08-07 15:35:56 -05:00
fe_connection_python.hpp
gps_ctrl.cpp uhd: Fix non-standard function name macros 2022-01-12 15:07:54 -06:00
mboard_eeprom_c.cpp
multi_usrp.cpp multi_usrp: Fix setters for ALL_CHANS 2024-02-20 14:40:55 -06:00
multi_usrp_python.cpp python: Add bindings for (timed_)wb_iface and get_user_settings_iface() 2024-10-09 23:27:53 +02:00
multi_usrp_python.hpp
multi_usrp_rfnoc.cpp multi_usrp: Improve dual-rate behavior 2023-12-01 11:05:31 -06:00
subdev_spec.cpp
subdev_spec_c.cpp Apply clang-formatting to all C/C++ files 2023-08-07 15:35:56 -05:00
subdev_spec_python.hpp Apply clang-formatting to all C/C++ files 2023-08-07 15:35:56 -05:00
usrp_c.cpp C API: Fix double-free issue with sensor values 2022-11-11 15:31:50 -06:00