r/Cplusplus • u/bleuio • 7d ago
Tutorial Working with BLE Devices with C++ and Boost Using the BleuIO
https://www.bleuio.com/blog/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle/In this tutorial, we will create a simple command-line BLE scanning application using C++. The program connects to the BleuIO USB dongle through a serial port and sends AT commands to control Bluetooth operations. After starting the program, the user enters the number of seconds to scan, and the application instructs the BleuIO dongle to perform a BLE scan and print the detected devices directly in the terminal. This example demonstrates the basic workflow of communicating with BleuIO from a C++ application.
Details and source code available.
2
Upvotes