{"id":1219,"date":"2025-03-18T16:22:22","date_gmt":"2025-03-18T16:22:22","guid":{"rendered":"https:\/\/www.bleuio.com\/blog\/?p=1219"},"modified":"2025-03-18T18:02:16","modified_gmt":"2025-03-18T18:02:16","slug":"building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor","status":"publish","type":"post","link":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/","title":{"rendered":"Building an Android Application to Connect BleuIO via Serial Port Using Angular &#038; Capacitor"},"content":{"rendered":"\n<p>In this tutorial, we will walk through the process of building an <strong>Android application<\/strong> that connects to the <strong>BleuIO USB dongle<\/strong> via a serial port using Capacitor 6, Angular, and TypeScript. This application allows users to send and receive AT commands to configure and interact with BLE (Bluetooth Low Energy) devices directly from an Android device.<\/p>\n\n\n\n<p>BleuIO is a powerful BLE USB dongle that enables communication with Bluetooth devices, making it an excellent tool for developing, debugging, and testing BLE applications. With this project, we can use an <strong>Android device<\/strong> to send AT commands to BleuIO over a serial connection, making it possible to configure and manage BLE operations without requiring a PC. This project works both on <strong><a href=\"https:\/\/bleuio.com\/bluetooth-low-energy-usb-ssd005.php\" target=\"_blank\" rel=\"noreferrer noopener\">BleuIO<\/a><\/strong> and <strong><a href=\"https:\/\/www.bleuio.com\/bluetooth-low-energy-usb-ssd025.php\" target=\"_blank\" rel=\"noreferrer noopener\">BleuIO Pro <\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why Use Capacitor, Angular, and TypeScript?<\/strong><\/h2>\n\n\n\n<p>This project is built using Capacitor 6, which provides seamless access to native device functionality, including USB serial communication. <strong>Angular<\/strong> is chosen for its structured approach, and <strong>TypeScript<\/strong> ensures type safety and better maintainability.<\/p>\n\n\n\n<p>Capacitor plugins allow us to communicate with hardware like USB devices, and in this project, we use the <strong><code>@adeunis\/capacitor-serial<\/code><\/strong> plugin to establish the serial communication with the BleuIO dongle.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Project Features<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Establish a serial connection with BleuIO on an Android device.<\/li>\n\n\n\n<li>Send AT commands to BleuIO and read responses.<\/li>\n\n\n\n<li>Scan for nearby BLE devices directly from the Android app.<\/li>\n\n\n\n<li>Built with <strong>Angular + TypeScript<\/strong> for scalability and maintainability.<\/li>\n\n\n\n<li>Uses Capacitor 6 for direct hardware interaction.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<p>Before starting, ensure you have the following installed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Node.js 18+<\/strong><\/li>\n\n\n\n<li><strong>Angular CLI<\/strong> (<code>npm install -g @angular\/cli<\/code>)<\/li>\n\n\n\n<li><strong>Capacitor CLI<\/strong> (<code>npm install -g @capacitor\/cli<\/code>)<\/li>\n\n\n\n<li><strong>Java 17<\/strong> (required for Capacitor 6)<\/li>\n\n\n\n<li><strong>Android Studio<\/strong><\/li>\n\n\n\n<li><strong>Android device<\/strong> with <strong>OTG support<\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/www.bleuio.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">BleuIO USB Dongle<\/a><\/strong><\/li>\n\n\n\n<li><strong>OTG cable<\/strong> (to connect BleuIO to your Android device)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Cloning the Repository &amp; Setting Up the Project<\/strong><\/h2>\n\n\n\n<p><strong>1. Clone the Repository<\/strong><\/p>\n\n\n\n<p>First, clone the <strong>GitHub repository<\/strong> and navigate to the project folder:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>git clone https:\/\/github.com\/smart-sensor-devices-ab\/bleuio-serial-android-angular-typescript.git<br>cd bleuio-serial-android-angular-typescript<br><\/code><\/pre>\n\n\n\n<p><strong>2. Install Dependencies<\/strong><\/p>\n\n\n\n<p>Run the following command to install all required dependencies:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>npm install<br><\/code><\/pre>\n\n\n\n<p><strong>3. Build the Angular Application<\/strong><\/p>\n\n\n\n<p>Next, build the <strong>Angular app<\/strong> for production:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ng build --configuration production<br><\/code><\/pre>\n\n\n\n<p><strong>4. Sync with Capacitor for Android<\/strong><\/p>\n\n\n\n<p>After building the Angular app, we need to sync it with <strong>Capacitor<\/strong> so it can run on an Android device:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>npx cap sync android<br><\/code><\/pre>\n\n\n\n<p><strong>5. Open the Project in Android Studio<\/strong><\/p>\n\n\n\n<p>To launch the project in <strong>Android Studio<\/strong>, run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>npx cap open android<br><\/code><\/pre>\n\n\n\n<p><strong>6. Run the Application on an Android Device<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect your <strong>Android device<\/strong> via USB.<\/li>\n\n\n\n<li>Enable <strong>USB debugging<\/strong> in <strong>Developer Options<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Run<\/strong> in <strong>Android Studio<\/strong> to install and launch the app.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Using the Application<\/strong><\/h2>\n\n\n\n<p><strong>1. Connect to BleuIO<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press the <strong>Connect to BleuIO<\/strong> button.<\/li>\n\n\n\n<li>The app will request <strong>USB permissions<\/strong> for BleuIO.<\/li>\n\n\n\n<li>Once granted, a <strong>serial connection<\/strong> is established.<\/li>\n<\/ul>\n\n\n\n<p><strong>2. Send AT Command<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press the <strong>Send ATI Command<\/strong> button.<\/li>\n\n\n\n<li>This command retrieves device information from BleuIO.<\/li>\n\n\n\n<li>The response will be displayed on the screen.<\/li>\n<\/ul>\n\n\n\n<p><strong>3. Scan for BLE Devices<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press the <strong>Scan BLE Devices<\/strong> button.<\/li>\n\n\n\n<li>This will send the <strong>AT+CENTRAL<\/strong> command, followed by <strong>AT+GAPSCAN=3<\/strong>.<\/li>\n\n\n\n<li>The list of nearby <strong>BLE devices<\/strong> will be displayed.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Understanding the Code<\/strong><\/h2>\n\n\n\n<p><strong>1. Serial Service (Handling Communication with BleuIO)<\/strong><\/p>\n\n\n\n<p>The <code>SerialService<\/code> handles <strong>serial communication<\/strong> with BleuIO. It requests <strong>USB permissions<\/strong>, opens the connection, sends AT commands, and processes responses.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Key Methods<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>connectToSerial()<\/code>: Requests <strong>OTG permission<\/strong>, establishes a <strong>serial connection<\/strong>, and listens for incoming data.<\/li>\n\n\n\n<li><code>sendATCommand()<\/code>: Sends <strong>AT commands<\/strong> and processes the response.<\/li>\n\n\n\n<li><code>scanBLEDevices()<\/code>: Sends the <strong>BLE scanning commands<\/strong> and displays detected devices.<\/li>\n<\/ul>\n\n\n\n<p><strong>2. App Component (User Interface Logic)<\/strong><\/p>\n\n\n\n<p>The <strong>AppComponent<\/strong> connects the UI with the <code>SerialService<\/code> to handle user interactions.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Key Features<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Calls <code>connectToSerial()<\/code> when the user clicks <strong>Connect to BleuIO<\/strong>.<\/li>\n\n\n\n<li>Calls <code>sendATCommand()<\/code> when the user clicks <strong>Send ATI Command<\/strong>.<\/li>\n\n\n\n<li>Calls <code>scanBLEDevices()<\/code> when the user clicks <strong>Scan BLE Devices<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>3. UI (HTML &amp; Styling)<\/strong><\/p>\n\n\n\n<p>The application provides <strong>three buttons<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;button (click)=\"connect()\">Connect to BleuIO&lt;\/button><br>&lt;button (click)=\"sendATCommand()\">Send ATI Command&lt;\/button><br>&lt;button (click)=\"scanBLEDevices()\">Scan BLE Devices&lt;\/button><br><\/code><\/pre>\n\n\n\n<p>A response area is updated dynamically:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;pre>{{ responseText }}&lt;\/pre><br><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Troubleshooting &amp; Common Issues<\/strong><\/h2>\n\n\n\n<p><strong>1. USB Permission Denied<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ensure that you <strong>grant permissions<\/strong> when prompted.<\/li>\n\n\n\n<li>If the issue persists, check <strong>OTG support<\/strong> on your Android device.<\/li>\n<\/ul>\n\n\n\n<p><strong>2. App Not Detecting BleuIO<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Verify that the <strong>OTG cable<\/strong> is properly connected.<\/li>\n\n\n\n<li>Ensure that the <strong>BleuIO dongle<\/strong> is recognized by your Android device.<\/li>\n<\/ul>\n\n\n\n<p><strong>3. <code>npx cap sync android<\/code> Fails<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure that <strong>Android Studio<\/strong> and <strong>Java 17<\/strong> are installed.<\/li>\n\n\n\n<li>Run <code>npm install<\/code> again to ensure all dependencies are installed.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Output<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"695\" src=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/image-3.png\" alt=\"\" class=\"wp-image-1222\" srcset=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/image-3.png 1001w, https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/image-3-300x208.png 300w, https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/image-3-768x533.png 768w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Source code<\/h2>\n\n\n\n<p>Source code is available on this <a href=\"https:\/\/github.com\/smart-sensor-devices-ab\/bleuio-serial-android-angular-typescript\"><strong>GitHub Repository<\/strong><\/a>. <\/p>\n\n\n\n<p>This project demonstrates how to connect and communicate with BleuIO using Capacitor 6, Angular, and TypeScript on an Android device. By leveraging the <code>@adeunis\/capacitor-serial<\/code> plugin, we can send AT commands, retrieve device information, and even scan for BLE devices directly from an Android app.<\/p>\n\n\n\n<p>With this foundation, developers can <strong>expand<\/strong> the application by adding custom AT commands, integrating data logging, or even building more advanced BLE applications. The full source code is available on GitHub for further customization and enhancements.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will walk through the process of building an Android application that connects to the BleuIO USB dongle via a serial port using Capacitor 6, Angular, and TypeScript. This application allows users to send and receive AT commands to configure and interact with BLE (Bluetooth Low Energy) devices directly from an Android [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1224,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[],"class_list":["post-1219","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>Building an Android Application to Connect BleuIO via Serial Port Using Angular &amp; Capacitor - 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\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Building an Android Application to Connect BleuIO via Serial Port Using Angular &amp; Capacitor - BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will walk through the process of building an Android application that connects to the BleuIO USB dongle via a serial port using Capacitor 6, Angular, and TypeScript. This application allows users to send and receive AT commands to configure and interact with BLE (Bluetooth Low Energy) devices directly from an Android [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/\" \/>\n<meta property=\"og:site_name\" content=\"BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-18T16:22:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-18T18:02:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/serial-com-bleuio.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1283\" \/>\n\t<meta property=\"og:image:height\" content=\"820\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/\"},\"author\":{\"name\":\"BleuIO\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"headline\":\"Building an Android Application to Connect BleuIO via Serial Port Using Angular &#038; Capacitor\",\"datePublished\":\"2025-03-18T16:22:22+00:00\",\"dateModified\":\"2025-03-18T18:02:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/\"},\"wordCount\":747,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/serial-com-bleuio.jpg\",\"articleSection\":[\"BleuIO\",\"BleuIO tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/\",\"name\":\"Building an Android Application to Connect BleuIO via Serial Port Using Angular & Capacitor - BleuIO - Create Bluetooth Low Energy application\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/serial-com-bleuio.jpg\",\"datePublished\":\"2025-03-18T16:22:22+00:00\",\"dateModified\":\"2025-03-18T18:02:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/serial-com-bleuio.jpg\",\"contentUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/serial-com-bleuio.jpg\",\"width\":1283,\"height\":820,\"caption\":\"serial com bleuio\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Building an Android Application to Connect BleuIO via Serial Port Using Angular &#038; Capacitor\"}]},{\"@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":"Building an Android Application to Connect BleuIO via Serial Port Using Angular & Capacitor - 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\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/","og_locale":"en_US","og_type":"article","og_title":"Building an Android Application to Connect BleuIO via Serial Port Using Angular & Capacitor - BleuIO - Create Bluetooth Low Energy application","og_description":"In this tutorial, we will walk through the process of building an Android application that connects to the BleuIO USB dongle via a serial port using Capacitor 6, Angular, and TypeScript. This application allows users to send and receive AT commands to configure and interact with BLE (Bluetooth Low Energy) devices directly from an Android [&hellip;]","og_url":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/","og_site_name":"BleuIO - Create Bluetooth Low Energy application","article_published_time":"2025-03-18T16:22:22+00:00","article_modified_time":"2025-03-18T18:02:16+00:00","og_image":[{"width":1283,"height":820,"url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/serial-com-bleuio.jpg","type":"image\/jpeg"}],"author":"BleuIO","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#article","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/"},"author":{"name":"BleuIO","@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"headline":"Building an Android Application to Connect BleuIO via Serial Port Using Angular &#038; Capacitor","datePublished":"2025-03-18T16:22:22+00:00","dateModified":"2025-03-18T18:02:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/"},"wordCount":747,"commentCount":0,"image":{"@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/serial-com-bleuio.jpg","articleSection":["BleuIO","BleuIO tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/","url":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/","name":"Building an Android Application to Connect BleuIO via Serial Port Using Angular & Capacitor - BleuIO - Create Bluetooth Low Energy application","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#primaryimage"},"image":{"@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/serial-com-bleuio.jpg","datePublished":"2025-03-18T16:22:22+00:00","dateModified":"2025-03-18T18:02:16+00:00","author":{"@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"breadcrumb":{"@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#primaryimage","url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/serial-com-bleuio.jpg","contentUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2025\/03\/serial-com-bleuio.jpg","width":1283,"height":820,"caption":"serial com bleuio"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bleuio.com\/blog\/building-an-android-application-to-connect-bleuio-via-serial-port-using-angular-capacitor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bleuio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Building an Android Application to Connect BleuIO via Serial Port Using Angular &#038; Capacitor"}]},{"@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\/1219","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=1219"}],"version-history":[{"count":4,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/1219\/revisions"}],"predecessor-version":[{"id":1228,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/1219\/revisions\/1228"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media\/1224"}],"wp:attachment":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media?parent=1219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/categories?post=1219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/tags?post=1219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}