{"id":1649,"date":"2026-03-09T11:42:50","date_gmt":"2026-03-09T11:42:50","guid":{"rendered":"https:\/\/www.bleuio.com\/blog\/?p=1649"},"modified":"2026-03-09T12:11:55","modified_gmt":"2026-03-09T12:11:55","slug":"scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle","status":"publish","type":"post","link":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/","title":{"rendered":"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle"},"content":{"rendered":"\n<p>Bluetooth Low Energy (BLE) has become one of the most widely used wireless technologies for IoT devices, sensors, wearables, and industrial monitoring systems. Developers working with embedded systems, automation platforms, and hardware integration often rely on <strong>C++<\/strong> because of its performance, low-level hardware access, and portability.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why C++ and Boost Are Commonly Used for Bluetooth Development<\/h2>\n\n\n\n<p>C++ is widely used in Bluetooth and embedded development because it provides high performance and direct access to hardware interfaces such as serial communication. Many IoT gateways, embedded systems, and industrial applications rely on C++ to interact with sensors and wireless devices. To simplify development, developers often use the Boost libraries, which extend the C++ standard library with reliable cross-platform tools. In this tutorial we use <strong>Boost.Asio<\/strong>, which provides a portable and efficient way to handle serial communication and asynchronous input\/output across different operating systems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements<\/h2>\n\n\n\n<p>Before starting this project, you should have the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A computer running <strong>macOS, Windows, or Linux<\/strong><\/li>\n\n\n\n<li>A <strong><a href=\"https:\/\/www.bleuio.com\/bluetooth-low-energy-usb-ssd025.php\" target=\"_blank\" rel=\"noreferrer noopener\">BleuIO USB dongle<\/a><\/strong><\/li>\n\n\n\n<li>A <strong>C++ compiler<\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/www.boost.org\/doc\/user-guide\/getting-started.html\" target=\"_blank\" rel=\"noreferrer noopener\">Boost libraries installed<\/a><\/strong><\/li>\n\n\n\n<li>Basic knowledge of <strong>C++ and terminal commands<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Installing the Required Tools<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">macOS Setup<\/h4>\n\n\n\n<p>First install <strong>Xcode Command Line Tools<\/strong>, which provide the C++ compiler.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">xcode-select --install<\/pre>\n\n\n\n<p>Next install <strong>Homebrew<\/strong> if it is not already installed.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/pre>\n\n\n\n<p>Then install Boost:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">brew install boost<\/pre>\n\n\n\n<p>You can verify the installation using:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">brew --prefix boost<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Windows Setup<\/h4>\n\n\n\n<p>On Windows you will need:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visual Studio or MSVC compiler<\/li>\n\n\n\n<li>Boost libraries<\/li>\n<\/ul>\n\n\n\n<p>Steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install <strong>Visual Studio Community Edition<\/strong><\/li>\n\n\n\n<li>Enable <strong>Desktop development with C++<\/strong><\/li>\n\n\n\n<li>Download Boost from https:\/\/www.boost.org<\/li>\n\n\n\n<li>Extract Boost and configure it for your project.<\/li>\n<\/ol>\n\n\n\n<p>Alternatively, Boost can be installed using <strong>vcpkg<\/strong>.<\/p>\n\n\n\n<p>Have a look into the getting started guide on boost office page <\/p>\n\n\n\n<p><a href=\"https:\/\/www.boost.org\/doc\/user-guide\/getting-started.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.boost.org\/doc\/user-guide\/getting-started.html<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Understanding How the Script Works<\/h2>\n\n\n\n<p>The example script uses <strong>Boost.Asio serial communication<\/strong> to interact with the BleuIO dongle.<\/p>\n\n\n\n<p>The application works in several stages.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Serial Connection<\/h4>\n\n\n\n<p>The program opens a serial port connected to the BleuIO dongle.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">serial_.open(port_name);<\/pre>\n\n\n\n<p>The serial port parameters are configured to match BleuIO\u2019s default UART settings.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">serial_.set_option(serial_port_base::baud_rate(57600));<br>serial_.set_option(serial_port_base::character_size(8));<br>serial_.set_option(serial_port_base::parity(serial_port_base::parity::none));<br>serial_.set_option(serial_port_base::stop_bits(serial_port_base::stop_bits::one));<br>serial_.set_option(serial_port_base::flow_control(serial_port_base::flow_control::none));<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Asynchronous Serial Reader<\/h4>\n\n\n\n<p>The script uses an asynchronous reader to continuously listen for responses from the BleuIO dongle.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">serial_.async_read_some(...)<\/pre>\n\n\n\n<p>Whenever the dongle sends data, the program prints the received information to the terminal.<\/p>\n\n\n\n<p>This allows us to see scan results in real time.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Sending AT Commands<\/h4>\n\n\n\n<p>Commands are sent to BleuIO using the <code>sendCommand()<\/code> function.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bleuio.sendCommand(\"AT+CENTRAL\");<\/pre>\n\n\n\n<p>The command is written to the serial port followed by a carriage return and newline.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Setting Central Role<\/h4>\n\n\n\n<p>BLE devices can operate in different roles.<br>Before scanning, the BleuIO dongle must be set to <strong>central mode<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bleuio.sendCommand(\"AT+CENTRAL\");<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Starting a BLE Scan<\/h4>\n\n\n\n<p>The scan command is then issued.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AT+GAPSCAN=&lt;seconds&gt;<\/pre>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AT+GAPSCAN=5<\/pre>\n\n\n\n<p>This instructs the BleuIO dongle to scan for nearby BLE devices for five seconds.<\/p>\n\n\n\n<p>The dongle returns advertising data for detected devices during the scan.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Full Source Code<\/h2>\n\n\n\n<p>You can find the full source code on GitHub.<\/p>\n\n\n\n<p><strong>GitHub repository<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><a href=\"https:\/\/github.com\/smart-sensor-devices-ab\/bleuio-cpp-boost\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/smart-sensor-devices-ab\/bleuio-cpp-boost<\/a><\/pre>\n\n\n\n<p>The repository contains the complete C++ script used in this tutorial.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Run the Script<\/h2>\n\n\n\n<p>First compile the program.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">clang++ -std=c++17 main.cpp -I$(brew --prefix boost)\/include -o bleuio_scan<\/pre>\n\n\n\n<p>After compilation, run the program:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\/bleuio_scan<\/pre>\n\n\n\n<p>The program will ask for the scan duration.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Enter scan duration in seconds: 5<\/pre>\n\n\n\n<p>The script will then:<\/p>\n\n\n\n<p>Connect to the BleuIO serial port,Put the dongle into central mode,Start scanning for BLE devices,Print scan results in the terminal<\/p>\n\n\n\n<p>Example output may look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"1024\" src=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/image-744x1024.png\" alt=\"\" class=\"wp-image-1651\" style=\"aspect-ratio:0.7265784245426633;width:376px;height:auto\" srcset=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/image-744x1024.png 744w, https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/image-218x300.png 218w, https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/image-768x1056.png 768w, https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/image.png 852w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Locating the BleuIO Serial Port<\/h2>\n\n\n\n<p>Before running the program, you need to identify the serial port where the BleuIO dongle is connected.<\/p>\n\n\n\n<p>On <strong>macOS<\/strong>, you can list available serial devices using the terminal command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ls \/dev\/cu.*<\/pre>\n\n\n\n<p>The BleuIO device will typically appear with a name similar to:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/dev\/cu.usbmodemXXXXXXXX<\/pre>\n\n\n\n<p>This value can then be used in the script as the serial port path.<\/p>\n\n\n\n<p>On <strong>Windows<\/strong>, the serial port can be identified through <strong>Device Manager<\/strong>. After plugging in the BleuIO dongle, open Device Manager and expand the <strong>Ports (COM &amp; LPT)<\/strong> section. The device will appear as a USB serial device with a COM port number, such as <strong>COM17<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Expanding This Example<\/h2>\n\n\n\n<p>The script in this tutorial is a basic example showing how to communicate with the BleuIO dongle using C++ and Boost.Asio. Although it only performs BLE scanning, the same approach can be used to send any AT command supported by BleuIO. Developers can extend this example to connect to devices, read GATT characteristics, parse advertisement data, or integrate BLE functionality into larger applications such as IoT gateways, monitoring tools, or automation systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bluetooth Low Energy (BLE) has become one of the most widely used wireless technologies for IoT devices, sensors, wearables, and industrial monitoring systems. Developers working with embedded systems, automation platforms, and hardware integration often rely on C++ because of its performance, low-level hardware access, and portability. In this tutorial, we will create a simple command-line [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1654,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[],"class_list":["post-1649","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bleuio","category-bleuio-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle - BleuIO - Create Bluetooth Low Energy application<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle - BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"og:description\" content=\"Bluetooth Low Energy (BLE) has become one of the most widely used wireless technologies for IoT devices, sensors, wearables, and industrial monitoring systems. Developers working with embedded systems, automation platforms, and hardware integration often rely on C++ because of its performance, low-level hardware access, and portability. In this tutorial, we will create a simple command-line [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/\" \/>\n<meta property=\"og:site_name\" content=\"BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-09T11:42:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-09T12:11:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/bleuio-cpp-boost.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"558\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"BleuIO\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/\"},\"author\":{\"name\":\"BleuIO\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"headline\":\"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle\",\"datePublished\":\"2026-03-09T11:42:50+00:00\",\"dateModified\":\"2026-03-09T12:11:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/\"},\"wordCount\":810,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/bleuio-cpp-boost.webp\",\"articleSection\":[\"BleuIO\",\"BleuIO tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/\",\"name\":\"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle - BleuIO - Create Bluetooth Low Energy application\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/bleuio-cpp-boost.webp\",\"datePublished\":\"2026-03-09T11:42:50+00:00\",\"dateModified\":\"2026-03-09T12:11:55+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/bleuio-cpp-boost.webp\",\"contentUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/bleuio-cpp-boost.webp\",\"width\":1000,\"height\":558,\"caption\":\"bleuio cpp boost\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/\",\"name\":\"BleuIO - Create Bluetooth Low Energy application\",\"description\":\"Learn Bluetooth Low Energy programming and build Bluetooth Low Energy Application\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\",\"name\":\"BleuIO\",\"sameAs\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/author\\\/biadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle - BleuIO - Create Bluetooth Low Energy application","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/","og_locale":"en_US","og_type":"article","og_title":"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle - BleuIO - Create Bluetooth Low Energy application","og_description":"Bluetooth Low Energy (BLE) has become one of the most widely used wireless technologies for IoT devices, sensors, wearables, and industrial monitoring systems. Developers working with embedded systems, automation platforms, and hardware integration often rely on C++ because of its performance, low-level hardware access, and portability. In this tutorial, we will create a simple command-line [&hellip;]","og_url":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/","og_site_name":"BleuIO - Create Bluetooth Low Energy application","article_published_time":"2026-03-09T11:42:50+00:00","article_modified_time":"2026-03-09T12:11:55+00:00","og_image":[{"width":1000,"height":558,"url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/bleuio-cpp-boost.webp","type":"image\/webp"}],"author":"BleuIO","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#article","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/"},"author":{"name":"BleuIO","@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"headline":"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle","datePublished":"2026-03-09T11:42:50+00:00","dateModified":"2026-03-09T12:11:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/"},"wordCount":810,"commentCount":0,"image":{"@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/bleuio-cpp-boost.webp","articleSection":["BleuIO","BleuIO tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/","url":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/","name":"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle - BleuIO - Create Bluetooth Low Energy application","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#primaryimage"},"image":{"@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/bleuio-cpp-boost.webp","datePublished":"2026-03-09T11:42:50+00:00","dateModified":"2026-03-09T12:11:55+00:00","author":{"@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"breadcrumb":{"@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#primaryimage","url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/bleuio-cpp-boost.webp","contentUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2026\/03\/bleuio-cpp-boost.webp","width":1000,"height":558,"caption":"bleuio cpp boost"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bleuio.com\/blog\/scanning-ble-devices-with-c-and-boost-using-the-bleuio-dongle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bleuio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Scanning BLE Devices with C++ and Boost Using the BleuIO Dongle"}]},{"@type":"WebSite","@id":"https:\/\/www.bleuio.com\/blog\/#website","url":"https:\/\/www.bleuio.com\/blog\/","name":"BleuIO - Create Bluetooth Low Energy application","description":"Learn Bluetooth Low Energy programming and build Bluetooth Low Energy Application","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bleuio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80","name":"BleuIO","sameAs":["https:\/\/www.bleuio.com\/blog"],"url":"https:\/\/www.bleuio.com\/blog\/author\/biadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":3,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"predecessor-version":[{"id":1653,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/1649\/revisions\/1653"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media\/1654"}],"wp:attachment":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}