Click here to Skip to main content
14,974,155 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 Corporation
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 Corporation
Connecting the Intel® Edison board to your Android Phone with Serial Port Profile (SPP)
by Intel Corporation
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 André Marcos, Gabriel Trepak, Vinícius Barauna Santana
Automating the Residential Lighting Activation Process Using Arduino
by wim4you
Introduction micro:bit and hobby example. Several Remote Controls (Infrared, Bluetooth Android App, serial port PC)
by taifur
A password protected door lock based on Arduino which can be controlled by a smartphone over Bluetooth.
by mbarsott
Every time a security problem emerges, an army of bright minds try to find a clever fix. Fortunately, collaboration among these solution finders have also increased exponentially.

All Articles

Sort by Score

Bluetooth 

Please Sign up or sign in to vote.
27 Jul 2016
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.
Please Sign up or sign in to vote.
8 Oct 2015
Intel Corporation
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
Please Sign up or sign in to vote.
20 Jan 2020
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...
Please Sign up or sign in to vote.
27 May 2014
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.
Please Sign up or sign in to vote.
16 Jun 2014
Yvan Rodrigues
https://software.intel.com/en-us/articles/using-winrt-apis-from-desktop-applications[^]
Please Sign up or sign in to vote.
15 Sep 2015
Intel Corporation
Connecting the Intel® Edison board to your Android Phone with Serial Port Profile (SPP)
Please Sign up or sign in to vote.
26 Sep 2018
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...
Please Sign up or sign in to vote.
24 May 2014
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...
Please Sign up or sign in to vote.
20 Oct 2014
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...
Please Sign up or sign in to vote.
11 Jun 2015
Intel Corporation
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.
Please Sign up or sign in to vote.
11 Jun 2015
Intel Corporation
Intel® Edison has built-in Bluetooth, this document demonstrates how to enable Bluetooth and pair to a device.
Please Sign up or sign in to vote.
26 Oct 2017
Oliverar
1 alternative  
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...
Please Sign up or sign in to vote.
8 Oct 2015
Intel Corporation
Intel® Edison has built-in Bluetooth, this document demonstrates how to enable Bluetooth and pair to a device.
Please Sign up or sign in to vote.
10 Apr 2016
Andrea@Favero
1 alternative  
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...
Please Sign up or sign in to vote.
10 Apr 2016
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 :-)
Please Sign up or sign in to vote.
18 Apr 2016
Intel Corporation
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
Please Sign up or sign in to vote.
2 Jun 2016
Eric Payne
The simplest, fastest way to send a file from your computer using Bluetooth!
Please Sign up or sign in to vote.
26 Aug 2016
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.
Please Sign up or sign in to vote.
26 Jun 2017
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)...
Please Sign up or sign in to vote.
21 Apr 2019
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[^]
Please Sign up or sign in to vote.
10 Jan 2020
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...
Please Sign up or sign in to vote.
2 Mar 2020
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...
Please Sign up or sign in to vote.
9 Nov 2020
wim4you
Introduction micro:bit and hobby example. Several Remote Controls (Infrared, Bluetooth Android App, serial port PC)
Please Sign up or sign in to vote.
24 Nov 2012
Makbg
2 alternatives  
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...
Please Sign up or sign in to vote.
24 Nov 2012
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
Please Sign up or sign in to vote.
24 Nov 2012
ridoy
Read and send SMS using bluetooth using C#.net[^]http://msdn.microsoft.com/en-us/library/aa362928%28v=vs.85%29.aspx[^]
Please Sign up or sign in to vote.
21 Jan 2013
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...
Please Sign up or sign in to vote.
29 Jan 2013
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...
Please Sign up or sign in to vote.
29 Jan 2013
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...
Please Sign up or sign in to vote.
10 Feb 2013
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...
Please Sign up or sign in to vote.
5 Apr 2013
sraanwijzer
1 alternative  
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...
Please Sign up or sign in to vote.
6 Apr 2013
abhijeetgupta1988
there is an app in Google Play named Bluetooth SSP:Blutooth SPPIt can help you communicate with your sensor and Android phone.
Please Sign up or sign in to vote.
7 Apr 2013
evanharijanto
1 alternative  
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...
Please Sign up or sign in to vote.
7 Apr 2013
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...
Please Sign up or sign in to vote.
8 May 2013
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...
Please Sign up or sign in to vote.
21 Jun 2013
OriginalGriff
This is not a question.Please do not post things like this - it makes you look like a whiny child!
Please Sign up or sign in to vote.
2 Sep 2013
Tuyển Đỗ
1 alternative  
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 (...
Please Sign up or sign in to vote.
3 Sep 2013
Manikandan Sekar
1 alternative  
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...
Please Sign up or sign in to vote.
3 Sep 2013
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..
Please Sign up or sign in to vote.
30 Sep 2013
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...
Please Sign up or sign in to vote.
26 Oct 2013
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...
Please Sign up or sign in to vote.
27 Nov 2013
naseer861
1 alternative  
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...
Please Sign up or sign in to vote.
27 Nov 2013
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...
Please Sign up or sign in to vote.
5 Jan 2014
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...
Please Sign up or sign in to vote.
15 Apr 2014
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...
Please Sign up or sign in to vote.
25 May 2014
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
Please Sign up or sign in to vote.
24 May 2014
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.
Please Sign up or sign in to vote.
3 Jul 2014
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...
Please Sign up or sign in to vote.
3 Aug 2014
Richard MacCutchan
See https://www.google.com/search?q=Send+a+string+on+BlueTooth[^].
Please Sign up or sign in to vote.
5 Aug 2014
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...
Please Sign up or sign in to vote.
2 Sep 2014
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...
Please Sign up or sign in to vote.
23 Sep 2014
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...
Please Sign up or sign in to vote.
6 Oct 2014
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...
Please Sign up or sign in to vote.
9 Oct 2014
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
Please Sign up or sign in to vote.
10 Oct 2014
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...
Please Sign up or sign in to vote.
20 Oct 2014
Arkadeep De
1 alternative  
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...
Please Sign up or sign in to vote.
20 Oct 2014
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...
Please Sign up or sign in to vote.
19 Nov 2014
Vinod KUmar S N
1 alternative  
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...
Please Sign up or sign in to vote.
19 Nov 2014
Deepu S Nair
Check below linkhttp://mikedodaro.net/2012/04/21/controlling-a-gadgeteer-device-using-bluetooth-module-and-32feet-net-library/[^]
Please Sign up or sign in to vote.
30 Nov 2014
skcoding
2 alternatives  
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...
Please Sign up or sign in to vote.
30 Nov 2014
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...
Please Sign up or sign in to vote.
2 Jan 2015
Member 11348455
1 alternative  
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...
Please Sign up or sign in to vote.
2 Jan 2015
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();
Please Sign up or sign in to vote.
28 Jan 2015
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!
Please Sign up or sign in to vote.
29 Jan 2015
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....
Please Sign up or sign in to vote.
3 Mar 2016
Member 11403735
1 alternative  
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
Please Sign up or sign in to vote.
2 Feb 2015
徐力
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];
Please Sign up or sign in to vote.
8 Mar 2015
SViki
2 alternatives  
{....//Finding the write characteristic//uint8_t val = 1;//NSData* valData = [NSData dataWithBytes:(void*)&val length:sizeof(val)];NSData* valData = @"1301040238faba000bca3c";[peripheral writeValue:valData forCharacteristic:characteristic...
Please Sign up or sign in to vote.
18 Mar 2015
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...
Please Sign up or sign in to vote.
24 Mar 2015
SViki
1 alternative  
Hi all, currently i'm working in BLE. I have connected to the device. Read command and write command works fine.What My question is...Can I send the write command again and again after connected to the device.
Please Sign up or sign in to vote.
25 Mar 2015
SViki
I have solved my problem. This is the sample solution.NSMutableData *concatenate = [NSMutableData data];uint16_t first=0x1cbd;uint8_t second = 0x01;uint8_t third = 0xfa;uint8_t fourth=0xea NSData* one = [NSData dataWithBytes:(void*)&first...
Please Sign up or sign in to vote.
26 Mar 2015
SViki
Ah finally i got the solution. Thanks for everyone who helped me. Here is the solution. Now i can call this write mtd anywhere & any number of times.CBCharacteristic *Writechar = nil;CBPeripheral *writePeri = nil;-(void)peripheral:(CBPeripheral...
Please Sign up or sign in to vote.
17 May 2015
Member 11697210
Hi,I'm developing a C program to search for bluetooth devices from my PC (using Windows 7). The application can see the closer devices and print the services of them. My question is: Is it possible to send a file from my PC to an Android mobile using the windows 32 API and without installing...
Please Sign up or sign in to vote.
15 Aug 2015
ahmetkocadogan
Hello. This is my scenario, i have an arduino uno and a hc-05 bluetooth module. i use software serial for hc-05, this is my arduino code:(from this link : http://stackoverflow.com/questions/18376468/arduino-using-serial-and-software-serial-with-bluetooth-module[^])#include...
Please Sign up or sign in to vote.
19 Aug 2015
Sriram Mani
Hi All,This might sound a bit vague. I wanted to use Bluetooth headphones to record and play audio in my Windows Phone 8.1 App. The phone application already has the recording and playing capability through wired headphones and direct microphone/speaker interfaces. I tried to use a...
Please Sign up or sign in to vote.
3 Nov 2015
Paul Brady
1 alternative  
Hello,I am trying to connect to an adafruit bluefruit LE micro with a windows 10 surface pro 3.I have loaded an app onto the device using Arduino IDE 1.6.5When I try to enumerate the list. Nothing show up?ARDUINO CODE****************// TimerOne library:...
Please Sign up or sign in to vote.
3 Nov 2015
Duncan Edwards Jones
This line:-Timer1.initialize(2 * 1000000); // in millisecondsWill make the startup wait for 2000 seconds. I suspect you only want to wait for 2 seconds?Timer1.initialize(2 * 1000); // in milliseconds
Please Sign up or sign in to vote.
6 Dec 2015
Richard MacCutchan
See http://developer.android.com/guide/topics/connectivity/bluetooth-le.html[^], which was easy to find.
Please Sign up or sign in to vote.
17 Jan 2016
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[^]
Please Sign up or sign in to vote.
3 Feb 2016
Trần Văn Cửu
Signal which Sato Printer can read
Please Sign up or sign in to vote.
2 Mar 2016
Member 12336167
1 alternative  
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...
Please Sign up or sign in to vote.
2 Mar 2016
Richard MacCutchan
Try the developer forum at Evothings | Making mobile apps for IoT easy, fast and fun to build![^].
Please Sign up or sign in to vote.
3 Mar 2016
ali majed
This can help you Innodroid - Android Freelance Contract Software Developer[^]I wrote a program on it
Please Sign up or sign in to vote.
14 Mar 2016
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...
Please Sign up or sign in to vote.
15 Jun 2016
Member 11590896
1 alternative  
Hi,I'm trying to using xamarin for do a test app. This app must search bluetooth devices, view them into a list and connect to them for read or write data. I choose xamarin Portable Class Library for my project.I see a lots of examples but I can't see devices in my list.I try Monkey...
Please Sign up or sign in to vote.
15 Jun 2016
mene94
I used the wrong method, I had read that the ble could see devices with normal bluetooth but it's not true. I have tried other projects like GitHub - angelcalvasp/Blacksun.XamForms running on Android but are not implemented for iOS, someone has to suggest me other samples with iOS?Thanks
Please Sign up or sign in to vote.
29 Aug 2016
Member 10165288
for easy access to ble connection, you can refer to this
Please Sign up or sign in to vote.
19 Sep 2016
Member 11543226
1 alternative  
I am now working on a project which related to bluetooth communication.I retrieved all COM ports names "COM12" , "COM23" from devices "Dual-SPP" and "SOLONOID" , now my problem is I could get information related to device like "DeviceID", "Friendly name" , but i need to get the above actual...
Please Sign up or sign in to vote.
19 Sep 2016
OriginalGriff
What makes you think they have an "actual name" like "solonoid" which is machine readable?The "friendly name" is the name it reports to Windows as a "human friendly" description of the device, and is probably about the best you can hope for.There is Win32_SerialPort class (Windows)[^] which...
Please Sign up or sign in to vote.
2 Dec 2016
Member 12882844
2 alternatives  
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!....
Please Sign up or sign in to vote.
1 Dec 2016
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...
Please Sign up or sign in to vote.
2 Dec 2016
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...
Please Sign up or sign in to vote.
22 Jan 2017
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...
Please Sign up or sign in to vote.
9 May 2017
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...
Please Sign up or sign in to vote.
26 Jun 2017
code_enthusiast
2 alternatives  
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...
Please Sign up or sign in to vote.
26 Jun 2017
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!!!
Please Sign up or sign in to vote.
26 Jun 2017
Richard MacCutchan
You already posted this question at Bluetooth low energy - windows programming[^]; please do not repost.
Please Sign up or sign in to vote.
12 Jul 2017
Member 13294153
1 alternative  
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 ...
Please Sign up or sign in to vote.
5 Jul 2017
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...
Please Sign up or sign in to vote.
12 Jul 2017
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.
Please Sign up or sign in to vote.
22 Aug 2017
Member 13373387
Hi , I'd like to write a program in Windows to hook up to an iphone and play music , make a call etc .. exactly like a car bluetooth connection does but from a PC. I think it should be do-able but since I'm completely new to BLE I'd really like some example code to make a start .. I used to...
Please Sign up or sign in to vote.
6 Oct 2017
Member 13339709
i'm able to pairing bluetooth devices but i can't connect, send and receive data, any help please? i'm using xamarin What I have tried: BluetoothDevice bdDevice = mBluetoothAdapter.GetRemoteDevice(devAdd); Toast.MakeText(BaseContext, "Connect to " + devName,...
Please Sign up or sign in to vote.
16 Oct 2017
marimir
1 alternative  
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...
Please Sign up or sign in to vote.
16 Oct 2017
Wessel Beulink
First of all, did you update the manifest with the right permissions? The following permissions needed to be included:
Please Sign up or sign in to vote.
26 Oct 2017
Chris Maunder
Doing it in this manner allows the list to be updated as the devices are found. So, how you do it depends on what you're trying to achieve. In this case the demo app is scanning for and listing devices, so in this case it's appropriate.
Please Sign up or sign in to vote.
26 Feb 2018
Member 13698171
1 alternative  
What we want to do is when the arduino will send a signal to the C# app that we are making and when the arduino sent the A signal, a notification popup should appear, if it did not send, the notification box will not appear. What I have tried: { public partial class Form1 : Form { ...
Please Sign up or sign in to vote.
26 Feb 2018
phil.o
if (serialPort1.WriteLine("A")) ; You are not reading from the serial port, you are writing to it. Please have a look at SerialPort.Read Method[^] or SerialPort.ReadByte Method[^] or SerialPort.ReadChar Method[^].
Please Sign up or sign in to vote.
1 Apr 2018
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...
Please Sign up or sign in to vote.
31 May 2018
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...
Please Sign up or sign in to vote.
26 Sep 2018
w8Ball
1 alternative  
Hello. I have a tiny Arduino sketch that sends random data via Bluetooth Module (I am using HC-06) every 5 seconds and I have a VB.NET windows Application that receives and manages the data. The data would look like this for example: "(255**255**255)" My VB.Net Application receives current data...
Please Sign up or sign in to vote.
20 Nov 2018
Richard MacCutchan
Your question does not really mean anything. But I suspect you are referring to sockets. Google for samples.
Please Sign up or sign in to vote.
13 Jan 2019
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...
Please Sign up or sign in to vote.
14 May 2019
Richard MacCutchan
See the answer to your other question on this subject.
Please Sign up or sign in to vote.
10 Jan 2020
Member 10376725
1 alternative  
I want to collect data from a Blood Glucose Meter via Bluetooth using VB .Net. I've looked in a couple of Visual Basic and Visual Studio sites and all I find are programs written in C# and C++. Is there any to do it in Visual Basic? What I have tried: Haven't tried anything yet as I cant find...
Please Sign up or sign in to vote.
29 Jan 2020
OriginalGriff
This is the same question you asked yesterday: How do I start this program?[^] and the answer you got hasn't changed since then. Read the solution Maciej Los gave you, follow the link, and start learning. Then start here: BluetoothDevice Class (Windows.Devices.Bluetooth) - Windows UWP...
Please Sign up or sign in to vote.
10 Feb 2020
Vaclav_
3 alternatives  
I like to do LIFO , so here is small addendum. I need to verify that the "address" in question is either the remote BT device address or local BT device address. Logically since it works as expected on first clear boot/ initial run it should be the remote address - the bluetooth devices are...
Please Sign up or sign in to vote.
6 Feb 2020
Richard MacCutchan
See python Bluetooth - How to use Socket address more than once on windows - Stack Overflow[^].
Please Sign up or sign in to vote.
7 Feb 2020
Vaclav_
Using bluetoothctl without any options gives some basic info about bluetooth. What is the difference between bluetooth controller and device ? Controller and device are related. Controller 00:50:B6:80:4D:5D z-desktop #1 [default] There in no device z-desktop in bluetoothctl ...
Please Sign up or sign in to vote.
3 Mar 2020
Vaclav_
2 alternatives  
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...
Please Sign up or sign in to vote.
3 Mar 2020
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
Please Sign up or sign in to vote.
31 Jul 2020
Sandeep Mewara
You need to go through details and try off, here refer: Bluetooth Simulation in C# with Serial Ports[^]
Please Sign up or sign in to vote.
31 Jul 2020
Richard MacCutchan
C# serial port communication by bluetooth - Google Search[^]
Please Sign up or sign in to vote.
10 Oct 2017
Gedarius
if this service was an API or Web Service, this message is telling that you don't have a key to access the service. you can try enter in the service website and ask for an API key
10 Jun 2015
Intel Corporation
This guide will teach you how to use GATT profile, by interfacing with the Texas Instruments SensorTag over Bluetooth* Low Energy.
15 Feb 2018
/n software
This article covers general Bluetooth Low Energy (BLE) concepts and gives practical instructions for using / nsoftware IPWorks! Bluetooh.
1 Oct 2015
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.
18 Mar 2016
Intel Corporation
This document is a guide for creating Java IoT applications that can access remote Bluetooth Low Energy devices on IoT platforms, such as the Intel® Edison development board.
20 Jun 2016
Intel Corporation
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.
19 Aug 2016
Intel Corporation
Sharing the same physical shape and pin layout as the UNO board, the Arduino 101 board accepts many of the shields that fit in its predecessor; you can also interchange cases and mounts between the two boards.
19 Feb 2015
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.
Please Sign up or sign in to vote.
17 Apr 2021
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...
Please Sign up or sign in to vote.
3 May 2021
Richard MacCutchan
See Bluetooth® Technology Website[^]
Please Sign up or sign in to vote.
12 Feb 2014
Joel Ivory Johnson
A walk through on modifying an RC car to be controlled by a Windows Phone
Please Sign up or sign in to vote.
9 Nov 2014
DaveAuld
Low Energy Bluetooth meets Arduino compatible microcontroller in a small form factor, is this just a fairy tale?
Please Sign up or sign in to vote.
6 Aug 2016
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).
Please Sign up or sign in to vote.
9 Dec 2020
André Marcos, Gabriel Trepak, Vinícius Barauna Santana
Automating the Residential Lighting Activation Process Using Arduino
Please Sign up or sign in to vote.
3 Oct 2017
David Crow
Brief example on how to use Android and Arduino to control a DC motor and LEDs over Bluetooth
Please Sign up or sign in to vote.
6 Feb 2020
Dave Kreskowiak
Quote: So how do I reset " the address " if my only working code is - "socket(..."? If your code doesn't properly close the socket, your only real option is to restart the machine.
Please Sign up or sign in to vote.
19 Jul 2016
Intel Corporation
This solution monitors the status of a home’s front door and garage door for increased security. The gateway gathers data from a doorbell, door lock, stepper motors, and a garage door application for edge data analytics.
Please Sign up or sign in to vote.
24 Sep 2016
Member 10165288
A library allows for easy access to communicate with BluetoothLE devices
Please Sign up or sign in to vote.
28 Apr 2014
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...
Please Sign up or sign in to vote.
4 Dec 2015
Richard MacCutchan
I want to write a c# Software that does exactly what These apps for Android and ios doSo get coding. Seriously, this is no more a valid question than your previous one. It is no good just stating a basic requirement, since we have no idea which parts you need help with, or whether you even...
Please Sign up or sign in to vote.
2 Jul 2018
mbarsott
Every time a security problem emerges, an army of bright minds try to find a clever fix. Fortunately, collaboration among these solution finders have also increased exponentially.
Please Sign up or sign in to vote.
11 Jan 2018
waj1206
1 alternative  
Hi all,I am planning to develop a windows application (Note: NOT a windows store application) but i want to make use of Windows.Devices.Bluetooth this namespace to read the bluetooth devices and send and receive information from...
Please Sign up or sign in to vote.
30 Jun 2018
Brad1141
How to send data from a TMP36 to a Bluetooth terminal using the HC-05 module
Please Sign up or sign in to vote.
6 Aug 2018
taifur
A password protected door lock based on Arduino which can be controlled by a smartphone over Bluetooth.
Please Sign up or sign in to vote.
18 Oct 2014
George Jonsson
From SerialPort.GetPortNames()[^], you get all available COM ports on the PC.If you need more info, you might be helped by this link Getting Serial Port Information[^]
Please Sign up or sign in to vote.
29 May 2013
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.
Please Sign up or sign in to vote.
3 Jul 2014
Developer.Samsung.com
This tutorial discusses how to create a Samsung Gear Remote Sensor application.
Please Sign up or sign in to vote.
4 Apr 2013
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...
Please Sign up or sign in to vote.
8 Mar 2015
Richard MacCutchan
You have created the data as a string, not a Hex value, so it is not valid. You should create it as a byte array, something like:// I am not familiar with Objective-C but it should be// similar to the following:uint8_t valData[] = { 0x13, 0x01, 0x04, 0x02, 0x38, 0xfa, 0xba, 0x00, 0x0b,...
Please Sign up or sign in to vote.
26 Sep 2015
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 :)
Please Sign up or sign in to vote.
20 Jan 2020
Vaclav_
1 alternative  
I am using plain "socket" to initialize bluetooth connection - from client to server. This is not a problem, just need some better description of receiving messages. If you are accustomed to answering questions , please , do not read any further. This is NOT simple question post. I am...
Please Sign up or sign in to vote.
18 Feb 2015
Member 11462012
I m making project to send sms from PC, i 've read many articles but couldn't find write answer. Can anybody help me what are methods to send sms from PC using C# or java.- GSM module is one of the methods, suggest me right model with source code- Also some applications use bluetooth...
Please Sign up or sign in to vote.
4 Dec 2015
Jeffrey Jefferson
1 alternative  
Hi guys. My last questIon was closed because It wasnt clear. 2nd try:I want to write a c# Software that does exactly what These apps for Android and ios do : [click]Is IT possible? If Yes, what Devices Do I need? Or Do i have to build My own Bluetooth 4.0 tracking Device to be...
Please Sign up or sign in to vote.
10 May 2017
Member 10850253
1 alternative  
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...
Please Sign up or sign in to vote.
9 May 2021
Member 14968771
Up front please follow forum rules READ the question NO RTFM please I have a working Qt C++ code "search for bluetooth service". Using Qt "callback" it generates "SIGNAL" and my processing function identifies basic service - in a string...
Please Sign up or sign in to vote.
16 May 2013
BlueRockDevil
1 alternative  
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...
Please Sign up or sign in to vote.
24 Apr 2014
asmaqureshi8211
I have created a GUI using C# that can connected Bluetooth phone, can send and receive the SMS Message via a bluetooth phone device.I want to write a program in C# that will allow me to do phone calls and receive phone calls through my PC via bluetooth. I am hoping someone can point me...
Please Sign up or sign in to vote.
25 May 2014
Станислав Игоревич
1 alternative  
I write a program on C#, i need to automatically send files from my PC/Laptop to all turned on bluetooth devices in area. So i cant understand how can i do automatically finding for devices and automatically sending them all my file, ofc they need to confirm it on their side. So here is an...
Please Sign up or sign in to vote.
28 Mar 2015
syed.kashif.raza.ubit
I am looking for help in receiving incoming phone call through my application. Now from different forums all i have come to know that we can accept an incoming phone call by using "ATA" command. Please help
Please Sign up or sign in to vote.
22 May 2016
Kassim Shaikh
You can't just create a background application without any UI. Instead you can create a one page app which uses BackgroundTask for send toast notification. Support your app with background tasks[^]
Please Sign up or sign in to vote.
22 Jan 2017
Member 12961327
1 alternative  
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)...
Please Sign up or sign in to vote.
26 Jun 2017
code_enthusiast
1 alternative  
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?
Please Sign up or sign in to vote.
10 Feb 2020
Vaclav_
This is not a solutions, but 1. I am tired to squint to read "comment' 2. So far it looks as "the problem" was binding the socket to WRONG "address" But my code is broken and I need to recover from that (IDE quit big time ) before I can get back...
Please Sign up or sign in to vote.
17 Apr 2021
Member 14968771
1 alternative  
What are the basic differences / purpose of paring and client /server and how does "scan for nearby bluetooth devices " works? Do not all of these need to have FIRST means of establishing partial or full communication between Bluetooth...
Please Sign up or sign in to vote.
7 Jan 2013
mistergamer
2 alternatives  
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...
Please Sign up or sign in to vote.
2 Sep 2013
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.
Please Sign up or sign in to vote.
23 Dec 2013
Member 10412237
1 alternative  
I am having a problem trying to distinguish the difference/if any between PAN(personal area network) and Piconet, i have read material that says they are same and others that they different. can anyone clear this up for me? thanks
Please Sign up or sign in to vote.
23 Dec 2013
Sergey Alexandrovich Kryukov
Such kind of a question, in general case, is just not quite valid. I don't know if you interpreted the source you've read correctly, but maybe some of them are also invalid. In this case, they are not the same and not different: one is the kind of another. Please read about...
Please Sign up or sign in to vote.
2 Aug 2014
baranils
2 alternatives  
HelloI work VisualStudio 2008I must create a simple Console Mobile application To :- Launch the App with a command line- Send a string on BlueTooth to a distant terminal- Wait Answer on BlueTooth The difficult part for me is to find some example and what I have to Set-Up to...
Please Sign up or sign in to vote.
3 Aug 2014
baranils
You said Quote: If you are just doing general searching for Bluetooth code, then Google is the tool to help youI do not agree : Google will simply help to find some existing Topic somewhereBut those topic needs to be created and feeded !And if nothing relevant can be found using...
Please Sign up or sign in to vote.
6 Oct 2014
Member 10117590
2 alternatives  
How to print label using zpl QLn220 printer, it's connected to my PC via Bluetooth. I want print function from c#.Netadditional information after comment belowThanks. I tried and Finally posted question here. Actually my printer is connected via Bluetooth to COM3 standard serial port of...
Please Sign up or sign in to vote.
18 Oct 2014
swarjadhav
1 alternative  
How do I get the port details of the Bluetooth device that I have paired within my windows form c# application? Manually I can get all port names but I need the com port name that allocated to particular Bluetooth Device.
Please Sign up or sign in to vote.
7 Nov 2014
Nikhil_Malik
i created an app that fetches accelerometer data and displays in a textbox. How can I send these readings via bluetooth to control my bot using it.?Please help guys.additional information copied from comments below1)I got the data. But the problem is that I dont know how to send it...