Click here to Skip to main content
15,867,594 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 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.

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 Score

Bluetooth 

27 Jul 2016 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.
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
20 Jan 2020 by Richard MacCutchan
Quote: This is NOT simple question post. Yes it is. Connection refused: the target system did not accept a connection request. The actual reason can only be found by inspecting the system which refused the connection. Maybe the two partners were not paired correctly, part of the address was...
27 May 2014 by gggustafson
There is an objection to sending data to an application that doesn't want it. "all turned on bluetooth devices in area" is a potentially large number of devices. Think of being in a Starbucks - you would see all other PC's - none of which want your message.
16 Jun 2014 by Yvan Rodrigues
https://software.intel.com/en-us/articles/using-winrt-apis-from-desktop-applications[^]
15 Sep 2015 by Intel
Connecting the Intel® Edison board to your Android Phone with Serial Port Profile (SPP)
26 Sep 2018 by Dave Kreskowiak
Your code is written to expect an entire message in one "receive packet" but that's not how communication, over ANY network, works. Your receive code has to buffer whatever is gets and keeps on adding to the buffered content on subsequent receive events until a complete message has been...
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...
20 Oct 2014 by swarjadhav
How to read pair key sent by the bluetooth device in c# so that I can pair with the device after returning that key? I have one Bluetooth device, while connecting it through c# it sends me pair key randomly, I wants to read that pair key in c# and needs to return within...
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.
11 Jun 2015 by Intel
Intel® Edison has built-in Bluetooth, this document demonstrates how to enable Bluetooth and pair to a device.
26 Oct 2017 by Oliverar
I am using Xamarin in C#, to build a cross platform BLE app. It is based on this example app using the Monkey.Robotics plugin. All the examples use a ObservableCollection devices; line, to populate a ListView with all the scanned results which the user can then manually select, setting...
8 Oct 2015 by Intel
Intel® Edison has built-in Bluetooth, this document demonstrates how to enable Bluetooth and pair to a device.
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 :-)
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
2 Jun 2016 by Eric Payne
The simplest, fastest way to send a file from your computer using Bluetooth!
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.
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)...
21 Apr 2019 by Michael Haephrati
You can check the following source code examples which focus on WiFi as you requested (though Richard MacCutchan is right about the clarity of your question). windows - Connect to Wi-Fi C++ - Stack Overflow[^] and also check: WlanGetAvailableNetworkList function (wlanapi.h) | Microsoft Docs[^]
10 Jan 2020 by OriginalGriff
If you find it working in C#, it will work in VB. There are a couple of sites that can convert the code for you: www.converter.telerik.com[^] is the one I use. But ... even easier is to use the C# code as is: add a reference to the assembly in your VB code and you can use the classes as if they...
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...
9 Nov 2020 by wim4you
Introduction micro:bit and hobby example. Several Remote Controls (Infrared, Bluetooth Android App, serial port PC)
23 Jan 2024 by Minh Danh Nguyen (ToughDev)
Dual-system Bluetooth keyboard setup: Seamless pairing with Windows 11 and Ubuntu 22
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.
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[^]
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...
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...
10 Feb 2013 by Ganesh KP
hi friends, I am developing an Android App that connects with a Bluetooth printer for printing the data mostly receipts(its a thermal printer). I have googled it and found the code which I am posting in the below link . http://pastie.org/6108587 and this link also...
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.
7 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...
7 Apr 2013 by SoMad
I remembered seeing an article related to that here on CodeProject. After searching a bit, I found it here:Writing a Sensor Driver for the Wiimote on Windows 7[^].I realize it is not exactly what you are looking for and that it is in C++, but it is a great article, so take a look at it and...
8 May 2013 by BlueRockDevil
Hello Friends,I am doing a project in C# with Bluetooth. Project is divided into following three parts,1. Discover the Bluetooth devices in the surroundings(not using the SerialPort).2. Automatically pair with the Bluetooth device (Phone Bluetooth device as well as Bluetooth modules...
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!
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 (...
3 Sep 2013 by Manikandan Sekar
I am new to windows mobile environment.I am developing an application now and i need to take a print from the windows mobile using bluetooth or by any other alternatives.I tried some third party tools but nothing gave me a clear idea, and also how can i get the printer name in my mobile...
3 Sep 2013 by TheUltimateDebugger
MobileLPR - An LPR Client for .NET Compact Framework 2.0[^]print-from-windows-mobile-to-bluetooth-printer[^]Refer the links..hope it will help you..
30 Sep 2013 by Lekshmi KR
Hi All,I am developing a ELM327 Simulator device(http://en.wikipedia.org/wiki/ELM327) using VC++ in MFC..It implements Serial port communication with my PC and tab..My PC contains BLuetooth plugged into it and the device (tab) is being paired with my PC..My program should send the required...
26 Oct 2013 by gholder
The iPhone can mimic a Bluetooth smart client or server device. I would like to duplicate this function on a Windows 8 app. I can see how to perform the Bluetooth client with the new Gatt APIs, but I do not see how to access the layers required to allow the Win8 device to be a Bluetooth smart...
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...
5 Jan 2014 by h.k_net
how i can auto searching devices and sending file with bluetooth using 32feet ,C#,WPf.please take example for me.tanks.i searching the devices with this cod ,for example showing first device name in 1 label : BluetoothDeviceInfo[] availableDevices; var client = new...
15 Apr 2014 by Member 10623687
Hi, I work on a multithreading application which use Bluetooth for recieve data from devices. Language is Native C++.Each device is serviced by its own thread. I use Windows Sockets to interact with BT-devices, so to search BT-devices, I call the. WSALookupServiceBegin() function, then...
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.
25 May 2014 by Sergey Alexandrovich Kryukov
It is not a question; and the post and the whole idea makes no sense. You cannot just "send the files" nowhere. And you are not really defining what would you do with the files. "Must accept" is ridiculous: nothing "must" anything.—SA
3 Jul 2014 by shankha2010
I have iPhone 4S [iOS version 7.1.2].Its connecting fine with my bluetooth audio playerbut not able to recognize any other bluetooth device [like and android or plain Nokia phone]My main main objective is to connect it with one rfid reader [see here]which doesn't support what iPhone...
3 Aug 2014 by Richard MacCutchan
See https://www.google.com/search?q=Send+a+string+on+BlueTooth[^].
5 Aug 2014 by Siddhesh Ajgaonkar
HelloI wish to design a locking system that will lock the a particular folder(DENY ACCESS TO IT)I want to use a bluetooth device for this.When I have my paired bluetooth phone with laptop the folder can be viewed or accessed,you can store files in it and access files from it.But when...
2 Sep 2014 by Member 10496892
I plan to send data whit Bluetooth in android programming. I want the connection to the device Receiver Bluetooth if my application is not running the program launch and successful connection happen. I ran it through the service, but my code does not work. public void...
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...
6 Oct 2014 by Nelek
Reading the error it seems the name you are giving is not matching the correct format or maybe not existant in your system.Have a look to these links, they might...
9 Oct 2014 by Member 10117590
The Zpl printer was connected to Standard Serial port via Bluetooth. I solved it by following this link Printing label and Barcodes using ZPL printer from C#.Net
10 Oct 2014 by Satheesh Santhosh
I'm tried to send file from pc to mobile via bluetooth.But it was not working. i'm using the IntheHand.net. dll for bluetooth transmission. But output of my program is BADREQUEST. i tried it lot of time but i was not working.This is my code. Help me pleasePrivate Sub sendbtn_Click(sender As...
20 Oct 2014 by Arkadeep De
every where i am searching, i just found how to send files from computer to phone via Bluetooth. but i want how to receive a file from phone by Bluetooth to my pc without pairing...
20 Oct 2014 by Afzaal Ahmad Zeeshan
There needs to be a controller for that device on your computer to read the data provided by the mobile device to your computer. This is why, Mobile's PC Suite is installed in order to connect mobile phones with a different architecture, so that both can recieve or send. Since this is a...
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/[^]
30 Nov 2014 by skcoding
I'm trying to communicate with a 3rd party bluetooth device from an iPhone 4s with iOS6, and using a bluetooth headset as an example.After checking many guides and tutorials on the subject, I came to the following conclusions:a -The most suitable way for me to make communication work is to...
30 Nov 2014 by KarstenK
Looks like the exotic "UA06XB-B" device isnt properly supporting the bt-service 0x00000001.What are the return codes of the other API?On Github is also some iOS private framework "BluetoothManager" but for iOS 7.It is the old problem: you should not use private API because it can...
2 Jan 2015 by Member 11348455
package com.example.i.t;import java.util.Set;import android.support.v7.app.ActionBarActivity;import android.bluetooth.BluetoothAdapter;import android.bluetooth.BluetoothDevice;import android.content.BroadcastReceiver;import android.content.Context;import...
2 Jan 2015 by w1sph
The error would help. but by just a quick look, the mArrayAdapter could be null.try something like this in onCreate:mArrayAdapter = new Set;before; bluetoothadapter();
28 Jan 2015 by Member 11229296
Is there an example using MFC that can connect to Bluetooth device and receive data and key event form this device on PC? Thanks a lot for your help!
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
29 Jan 2015 by Onkarraj A.
hi guys,I have implemented two codes to connect to the Bluetooth printer, but it is not able to connect. When I have searched on Stack I came an across same question, but there is no answer for that. http://stackoverflow.com/q/22723865/3877529[^]This is the link of that question....
2 Feb 2015 by 徐力
I Hope this would help you,you can try with service tag 0x00002000 BluetoothManager *btManager = [[self bluetoothScanner] bluetoothManager]; [btManager setDevicePairingEnabled:YES]; [btManager connectDevice:bluetoothDevice withServices:0x00002000];