Click here to Skip to main content
15,886,199 members
Everything / Bluetooth

Bluetooth

Bluetooth

Great Reads

by raddevus
Steps for building a device you can add to your existing garage door, which implements an atmega328, bluetooth (hc-05) and relay module which will allow you to open your garage door from any paired Android device.
by Intel
This article covers and expands upon the material from the Hands-on Lab Intel® Internet of Things (IoT) Developer Kit SFTL005 presented at the Intel® Developer Forum 2015
by Intel
Connecting the Intel® Edison board to your Android Phone with Serial Port Profile (SPP)
by deangi
A Bluetooth LE scanner gathers data on a schedule from one or more BLE servers and forwards it to WiFi.

Latest Articles

by deangi
A Bluetooth LE scanner gathers data on a schedule from one or more BLE servers and forwards it to WiFi.
by deangi
An ESP32 with a temperature/humidity sensor are configured as a bluetooth low energy server to provide remote monitoring
by Minh Danh Nguyen (ToughDev)
Dual-system Bluetooth keyboard setup: Seamless pairing with Windows 11 and Ubuntu 22
by André Marcos (Advisor), Gabriel Trepak, Vinícius Barauna Santana
Automating the Residential Lighting Activation Process Using Arduino

All Articles

Sort by Title

Bluetooth 

13 Jan 2019 by dansica
Hello, I have tried many ways to make the connection of 2 Arduino to an App but I still can't get it to run smoothly. Is there any experts out there that can help me out? I just want to connect one Arduino for 5 seconds and disconnects and then connect to the other Arduino continuously. My code...
2 Sep 2013 by Tuyển Đỗ
Hi every one,I'm working with 32feet.NET on my bluetooth application. I work is send a string between two computer via bluetooth connection (one computer is client, another is server)On server I write: Form1() { InitializeComponent(); if (...
2 Sep 2013 by Tuyển Đỗ
I found this solution, this question was closed.This problem is my client's bluetooth has problem with driver. Now I change to another PC this working fine. No problem with code.Thanks.
2 Dec 2016 by Member 12882844
Hello Guys,I need some code sample to send the data packet to serial port from PC (vb program). I am looking for some sample code for this and How to frame the packet in the code to send it serially...My packet format is like this: [Type+Opcode+Parameter+CheckSum] Please help!....
1 Dec 2016 by OriginalGriff
Start here: SerialPort.Write Method (Byte[], Int32, Int32) (System.IO.Ports)[^] - that's the method you probably need to use.And it's trivial to do:string parameter = "My parameter";byte[] paramData = Encoding.UTF8.GetBytes(parameter);int paramLen = paramData.Length;byte[] data = new...
2 Dec 2016 by Patrice T
Quote:But I don't know how to frame a packet and send it to serial port. You can consider that every single AT command you have already send is a frame.Your frame is simply a string containing what you want, an AT command or [Type+Opcode+Parameter+CheckSum].you just have to make sure that...
4 Mar 2024 by deangi
A Bluetooth LE scanner gathers data on a schedule from one or more BLE servers and forwards it to WiFi.
26 Feb 2024 by deangi
An ESP32 with a temperature/humidity sensor are configured as a bluetooth low energy server to provide remote monitoring
31 May 2018 by Samira Radwan
Hi All, As a new android developer, I'm working on an app that connect to Bluetooth device (BLE). I'm using Java Bluetooth classes including BlutoothGatt to connect/disconnect to that device. Everything works fine. The problem: I have a binary file which I'm trying to send to the Bluetooth...
18 Mar 2015 by uguryilmaz
Hi,We have a native android app which you can print invoice an waybill from it via bluetooth. i used default bluetooth adapter. When i hit print button from app, the bluetooth printer prints what i sent with no problem, but when i print again, printing text is corrupted. At the half of the...
3 Mar 2016 by Member 11403735
Hello. I have a program for send a file via Bluetooth but i want to send a file via Bluetooth without show Bluetooth device chooser. I already tried.Please help me
3 Mar 2016 by ali majed
This can help you Innodroid - Android Freelance Contract Software Developer[^]I wrote a program on it
1 Oct 2015 by Android on Intel
This article gives an overview of the Android Wear operating system focusing on wearable devices, application types, development, and debugging. It also explains two ways of debugging a wearable app using ADB.
7 Jan 2013 by mistergamer
hello every body,i'm evolve an application writen on VB6. this app use bluetooth connection to communicate with the hardware. i succed to communicate but the OS claim me a code to associate the bluetooth with my pc. The goal is the association must be transparent for the user because he use...
29 Jan 2013 by mistergamer
there is a solution but it is not completly operating. Create a dll ActiveX by following these steps with "InTheHand.Net.Personal.dll" :Start VS2010 as administrator.Open a class library project (exmaple - MyProject).- Add a new interface to the project (see example below).- Add a using...
29 Jan 2013 by mistergamer
there is my dll code to connect:using System;using System.Collections.Generic;using System.Linq;using System.Text;using InTheHand.Net.Sockets;using InTheHand.Net.Bluetooth;using System.Windows.Forms;using InTheHand.Net;using System.Runtime.InteropServices;namespace...
1 Apr 2018 by JavaScrptMaster
I am trying to write a Power Shell script which will check the connection status of paired Bluetooth devices in a certain interval (15 sec) and if found the device is out of range then will lock the users system. What I have tried: In the following code I am not able to figure out how to list...
10 May 2017 by Member 10850253
I want to be able to establish a connection with a bt device and maintain its connectivity even after reboot and shutdown, so that the winform app can reconnect to the bt device after reboot and shutdown. The thing is I have never worked with bt devices before and I really need your help to do...
9 May 2017 by Dave Kreskowiak
Your "question" has very little to do with BlueTooth, but everything to do with maintaining a state inside your application, serializing that state to a file or other storage (saving), deserializing it, and making sure the device matches up with the state your code is maintaining. Nobody is...
2 Mar 2016 by Member 12336167
HiMy objective is to get the beacon data from advertising data i.e. uuid+Manfacturing data+Major_Minor+txpower,I used cordova Ble scan plugin in Visual studio 2015,I am unable to get whole beacon data from ble.start scan,Please help me in this regard,The following is the...
2 Mar 2016 by Richard MacCutchan
Try the developer forum at Evothings | Making mobile apps for IoT easy, fast and fun to build![^].
30 Jun 2018 by Brad1141
How to send data from a TMP36 to a Bluetooth terminal using the HC-05 module
28 May 2015 by Member 11725407
Hello everyone,My task is to achieve a bidirectional communication between two BLE devices PAN1740 (which include the SoC DA14580). I'm new and I have to do it in short time. DA14580 includes CortexM0.Has anyone worked before on something like this?Any helpful source code?Thank you...
10 Apr 2016 by Andrea@Favero
I need to write an application on Windows 10 desktop, to test and develop some embedded products with BLE. I know that BLE is more mature on iOS and Android (and even on Windows Phone), but we are used to Windows Desktop applications, developed in Visual Studio 2015, in c#.I already...
10 Apr 2016 by Andrea@Favero
Update: I found the way to include the Windows 10 runtime.Add a reference to C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmdThanks the same :-)
5 Jul 2017 by cjecje
This seems like it should be simple but I'm having problem correlating multiple services for a device. I need to read characteristics for I have multiple devices, each has a custom service as well as implementations for some of the generic services. I thought that if I enumerated based on my...
18 Nov 2021 by Master PC
I followed this site: Communicating with Bluetooth devices over JavaScript[^] and written an API that will read in data from a skincare device. Connect with BLE device function...
17 Oct 2021 by Richard MacCutchan
Look at the name of the library that is being installed: sudo apt-get install libbluetooth-dev So your build should include the library option -lbluetooth-dev
18 Oct 2021 by Member 14968771
I added -L COLLECT_GCC_OPTIONS='-L/usr/lib/x86_64-linux-gnu' '-v' '-o' 'RPI_Bluetooth' '-shared-libgcc' '-march=armv6' '-mtune=arm1176jz-s' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' Reinstalled libbluetooth-dev PACKAGE (?) ...
17 Apr 2021 by Richard MacCutchan
Scanning for devices is when the Bluetooth system sends network broadcast messages that may be answered by any nearby device, after which pairing can occur. and pairing of devices is when two devices establish a connection, at which point one can...
19 Nov 2014 by Vinod KUmar S N
Hi,I wanted to establish Bluetooth communication between my application(C#, WPF) and one hardware module(e.g: Mobile Phone). I included the bluetooth libraries and can able discover the available device around. Please help me from here what steps/API's/Procedures do i need to follow for...
19 Nov 2014 by Deepu S Nair
Check below linkhttp://mikedodaro.net/2012/04/21/controlling-a-gadgeteer-device-using-bluetooth-module-and-32feet-net-library/[^]
26 Aug 2016 by Richard MacCutchan
You already posted this question at Want to keep bluetooth device connection in entire application. Bluetooth connection is lost while switch to another activity ... ? - Android Discussion Boards[^]. Please use one forum only.
14 Sep 2016 by Utkarsh Joshi
When you are Selecting A device to connect and when you are click on the device list item for requesting a connection to the device use AsyncTaskand put the connect method inside the AsyncTask like this :- AsyncTask.execute(new Runnable() { @Override ...
27 Nov 2013 by naseer861
Hi Can we connect an android application with a webserivce in ASP.net c# using bluetooth.For exampleIn my android device i have built an applicaion that has two edit texts and a button named Add below.In my webservice which i have built in ASP.neet c# will add two numbers.Now...
27 Nov 2013 by Ron Beyer
"Can it be done"Just about anything is possible, but why would you go through all the trouble of developing a Web app and not send the data to the ASP.NET service through the web? Seems like the wrong choice of technologies, at that point its easier to just do a windows service or background...
6 Aug 2018 by taifur
A password protected door lock based on Arduino which can be controlled by a smartphone over Bluetooth
26 Sep 2015 by Haral FAST
I wanted to write a code to display the name of bluetooth devices near by. I have a basic knowledge of c and c++ and python. Can anyone please guide me where to learn stuff related to my code. Thanks in Advance :)
14 Mar 2016 by Member 1882035
hello,my device uses bluetooth le 4 for communication.although my device appears as paired in device manager, it's not assigned a port.my developing enviroment: win8 visual studio 2015i'm using DeviceInformation.FindAllAsync to locate my device,but GattDeviceService.FromIdAsync...
26 Jun 2017 by code_enthusiast
I am a newbie in Windows application development. Currently I'm working on a project to write a communication layer using Bluetooth low energy which should work on both windows 8.1 and windows 10. Below is the code that I used to run to list the BLE services, #include "stdafx.h" #include...
26 Jun 2017 by KarstenK
There is some bug in the API. Read this article at Stack overflow with some additional hints for an update. Your code flow is buggy. Never re-use a handle multiple times, it is a unique sysetm resource. And dont close a handle multiple time, but set the value to NULL when done!!!
26 Jun 2017 by Jochen Arndt
You will probably never get a valid handle from GetBLEHandle. Your code in main() does not check the return value and the function itself is not working as expected: if (!SetupDiGetDeviceInterfaceDetail(hDI, &did, NULL, 0, &size, 0)) { int err = GetLastError(); if (err == ERROR_NO_MORE_ITEMS)...
26 Jun 2017 by code_enthusiast
Is it possible to develop Bluetooth low energy applications in C++ using Bluetooth low energy functions which should work on both windows 8.1 and windows 10 ?? What I have tried: If it is possible, Is there any code sample that i can use?
26 Jun 2017 by Richard MacCutchan
You already posted this question at Bluetooth low energy - windows programming[^]; please do not repost.
24 Sep 2016 by Member 10165288
A library allows for easy access to communicate with BluetoothLE devices
14 May 2019 by Richard MacCutchan
See the answer to your other question on this subject.
21 Jan 2013 by Aritra Mondal
Dear Sir, I am working on Project which is aimed to build a ANDROID PHONE CONTROL ROBOT.I have already built an Robot which is controlled by a 3-axis Accelerometer but the drawbacks of this bot was it was not wireless but now I am trying to built a bot which is wireless i.e the bot...
24 Nov 2012 by Makbg
Hello everyone,I'm working on a project where i need to receive a text message from a device (mobile) by Bluetooth and then process that message and send a specific text through the serial port.I managed to finish the serial part but i'm new to Bluetooth so can anyone help me and tell me...
24 Nov 2012 by Nelek
Have a look:http://social.msdn.microsoft.com/forums/en-US/vssmartdevicesvbcs/thread/3e70ed90-830b-4dda-a350-083ceea4c0ae/[^]Bluetooth Simulation in C# with Serial Ports[^]http://inthehand.com/forums/p/2522/9319.aspx[^]Hope it helps
24 Nov 2012 by ridoy
Read and send SMS using bluetooth using C#.net[^]http://msdn.microsoft.com/en-us/library/aa362928%28v=vs.85%29.aspx[^]
29 Jan 2018 by Phokaeas
WOW!!! I had no Idea that this was such a tough question or are you all asleep out there. If this is a forbidden question please let me know. Thanks
12 Jul 2017 by Member 13294153
Hi there! I'm creating windows application in C++, which connect's PC with mobile via bluetooth and winsock. Allow's you to call and send messages from mobile via computer. I'm using AT command's to tell mobile what i want to do. Pair with mobile device and force a call with At command ...
12 Jul 2017 by KarstenK
Sending modem commands to a bluetooth device sounds a bit weired. I think you are using bad commands, so read the article Send and Read SMS through a GSM Modem using AT Commands to learn more about this issue.
22 Jan 2017 by Member 12961327
I have a wireless printer & I was wondering if connecting Bluetooth/WiFi adapter to printer’s USB-A Female port will directly print through my android mobile.TP-Link TL-WN823N 300Mbps Mini Wireless N USB Adapter (Black)...
22 Jan 2017 by Kornfeld Eliyahu Peter
Quote:If your printer is connected to your Android device with a USB OTG (USB On-the-Go) cable, you can print from your Android device. Printing from an Android device with a USB OTG connection requires an Android device that supports USB OTG and a USB OTG cable.HP Printers - Printing From...
29 May 2013 by csharpbd
Hi, I want to build an application to communicate PC to Android Phone over Bluetooth. Also want to build PC app using C# and Android app using Java. Please help me using code example or some use full links.
23 Jan 2024 by Minh Danh Nguyen (ToughDev)
Dual-system Bluetooth keyboard setup: Seamless pairing with Windows 11 and Ubuntu 22
15 Sep 2015 by Intel
Connecting the Intel® Edison board to your Android Phone with Serial Port Profile (SPP)
19 Feb 2015 by Nathan Carver
The goal of this document is to show you how to write code and connect the hardware to establish BLE communication between an Intel Edison and a Bluetooth 4.0-equipped Android device, using free software tools and low-cost, off-the-shelf hardware.
11 Jun 2015 by Intel
The goal of this document is to show you how to write code and connect the hardware to establish BLE communication between an Intel Edison and a Bluetooth 4.0-equipped Android device, using free software tools and low-cost, off-the-shelf hardware.
16 May 2013 by BlueRockDevil
Hello Everyone,I am in a confusion with the Usb Bluetooth Dongle. I have one from ICIDU V4.0 . I wrote a program in C# using 32feet library to detect the Bluetooth devices in the surrounding as a result i can get all the devices listed (like Smart phones) except one which is BLE (Bluetooth...
17 Jan 2016 by pets87
I think it's because 32feet doesn't support BLE:.net - C# Establishing stream from laptop internal bluetooth 4.0 to Bluetooth Low Energy (BLE) peripheral - Stack Overflow[^]
4 Apr 2013 by evanharijanto
Hi everyone,I am a beginner and I would like to ask about this thing.I have a task that I should make a program that can read the WiiMote Signal that connected to PC using bluetooth.Did any of you have any articles or any other things that related to this, or any tutorial?I have...
28 Apr 2014 by Andres Parra
Hello...I have a problem, I put the bluecove.jar in my program but when I run the eclipse it showed:Native Library intelbth_x64 not availableNative Library bluecove_x64 not availableI found bluecove-2.1.1-SNAPSHOT.jar, this .jar is for x64 computers but when I run the program again I...
12 Feb 2014 by Joel Ivory Johnson
A walk through on modifying an RC car to be controlled by a Windows Phone
18 Apr 2016 by Intel
This guide contains steps to create a Bluetooth Smart/Low Energy (BLE) iBeacon application that runs on an Intel® Galileo board or Intel® Edison board, advertising the board's presence as a BLE device
5 Apr 2013 by sraanwijzer
I am developping an application that represents meassurements by a sensor on an android OS. The sensor contains the meassurements taken by moving. The sensor has a connection with Android through bluetooth. I switched the bluetooth on both the android phone and sensor on, and the phone...
6 Apr 2013 by abhijeetgupta1988
there is an app in Google Play named Bluetooth SSP:Blutooth SPPIt can help you communicate with your sensor and Android phone.
12 Nov 2021 by Stafford Martin 2021
Hi, I am using the InTheHand GitHub package. One of the classes provided by that package is the BluetoothInfo class. One of the properties provided by this class is the DeviceAddress property. This property is of class BluetoothAddress. It ...
12 Nov 2021 by Richard MacCutchan
Assuming an IP address of the form A:B:C:D, where each field can be in the range 0-255, it is a simple matter to convert it into a 32 bit unsigned integer: uint[] ip = { 192,168,2,1}; uint num = ip[0]
6 Aug 2016 by raddevus
Plug this device into your computer and never type or memorize a password again. That's right, no need to memorize your Windows login (and you won't be able to because it will be so long and complex anyways).
2 Jun 2016 by Eric Payne
The simplest, fastest way to send a file from your computer using Bluetooth!
23 Sep 2014 by chekri
Hi,My requirement is: i need to transfer and receive data from bluetooths.Tested entire application in Windows XP with Bluetooth 2.0 dongle and is working fine.Installed my application in Windows 8.1 and tested with Bluetooth 4.0 dongle and .Net framework 2.0. in this case also...
16 Oct 2017 by marimir
I am developing an android application.I need to get data from meter by optical probe via bluetooth. As I know I should connect to probe with bluetooth and send some request to that for getting the meter values. Please if anybody knows about how to do it .. help me. I used...
16 Oct 2017 by Wessel Beulink
First of all, did you update the manifest with the right permissions? The following permissions needed to be included:
26 Oct 2018 by Smit Modi
I am working with Polar H10 to get the Heart Rate Variability from it. I am running Bluetooth Low Energy Sample from Microsoft. I have used this sample to get the heart rates from another polar device (Polar OH1) and it worked fine. But now I want to get the HRV from Polar H10. But BLE...
3 Mar 2020 by Vaclav_
This is a lazy man , KISS , Linux question. Is there a simple command to obtain JUST the address? For example somethingsimilar to system("hciconfig name "); I have no issues extracting required data from temporary files, just curious if...
2 Mar 2020 by phil.o
You could use grep[^] to isolate the part of output you are interested in. hciconfig name | grep "(isolating regular expression)" Here is the actual implementation of the solution . The task was to extract a line from hciconfig output...
3 Mar 2020 by Vaclav_
Using grep still requires C++ code to get JUST the address or name of BT remote device. The KISS solution is here: hci_read_remote_name returns both address and name
15 Feb 2018 by /n software
This article covers general Bluetooth Low Energy (BLE) concepts and gives practical instructions for using / nsoftware IPWorks BLE
20 Jun 2016 by Intel
The first part of this article compares the Arduino 101 platform to the Arduino UNO, giving a baseline for those who aren’t familiar with the Arduino 101 features. The second part dives deeper into the capabilities of the Arduino 101 platform.
8 Oct 2015 by Intel
This article covers and expands upon the material from the Hands-on Lab Intel® Internet of Things (IoT) Developer Kit SFTL005 presented at the Intel® Developer Forum 2015
21 Jun 2013 by OriginalGriff
This is not a question.Please do not post things like this - it makes you look like a whiny child!
24 May 2014 by OriginalGriff
It doesn't quite work like that.We do not do your work for you.If you want someone to write your code, you have to pay - I suggest you go to VWorker.com and ask there.But be aware: you get what you pay for. Pay peanuts, get monkeys.
24 May 2014 by Manikandan10
This is actually not a question. Have you started writing your code? Where are you having problems? See these pages:Bluetooth Simulation in C# with Serial...