Questions tagged [bluetooth]
Bluetooth is a global open wireless technology standard for exchanging data over short distances (using short wavelength radio transmissions) from fixed and mobile devices, creating personal area networks (PANs) with high levels of security.
16,448
questions
344votes
5answers
22kviews
Bluetooth headphone music quality deteriorates when launching iOS simulator
The situation goes a little something like this:
I am programming Xcode whilst concurrently listening to music on my Bluetooth headphones... you know to block out the world.
Then, I go to launch my ...
191votes
5answers
101kviews
Android 4.3 Bluetooth Low Energy unstable
I am currently developing an application that will use Bluetooth Low Energy (testing on the Nexus 4). After getting started with the official BLE APIs in Android 4.3, I have noticed that after I ...
153votes
6answers
111kviews
What is the iBeacon Bluetooth Profile
I'd like to create my own iBeacon with some Bluetooth Low Energy dev kits. Apple has yet to release a specification for iBeacons, however, a few hardware developers have reverse Engineered the iBeacon ...
119votes
7answers
136kviews
Understanding ibeacon distancing
Trying to grasp a basic concept of how distancing with ibeacon (beacon/ Bluetooth-lowenergy/BLE) can work. Is there any true documentation on how far exactly an ibeacon can measure. Lets say I am 300 ...
117votes
9answers
98kviews
Location needs to be enabled for Bluetooth Low Energy Scanning on Android 6.0
After upgrading to Android version 6.0 Bluetooth Low Energy (BLE) scanning will only work if Location services are enabled on the device. See here for reference: Bluetooth Low Energy startScan on ...
108votes
10answers
184kviews
How to enable/disable bluetooth programmatically in android
I want to enable/disable bluetooth through the program. I have the following code.
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
if (!mBluetoothAdapter.isEnabled()) {
...
108votes
16answers
143kviews
IOException: read failed, socket might closed - Bluetooth on Android 4.3
Currently I am trying to deal with a strange Exception when opening a BluetoothSocket on my Nexus 7 (2012), with Android 4.3 (Build JWR66Y, I guess the second 4.3 update). I have seen some related ...
88votes
10answers
67kviews
Check battery level of connected bluetooth device on linux
How can I check the battery level of a connected bluetooth device? The device shows the battery level on Android so I'm assuming the device supports the GATT-based Battery Service. However, by ...
87votes
7answers
120kviews
Android: How do bluetooth UUIDs work?
I don't understand what a bluetooth UUID denotes. Do UUIDs denote protocols (e.g. RFCOMM)? If so, why do the createRfcommSocketToServiceRecord() methods require UUIDs, when they specify rfcomm right ...
82votes
1answer
5kviews
(Dis)Connecting bluetooth devices with Windows.Devices.Bluetooth.Rfcomm (WP8.1)
Connecting and disconnecting to Bluetooth devices has been giving various results on Windows Phone/Desktop 8.1. I have been using the Windows.Devices.Bluetooth.Rfcomm namespace and I have tried to ...
80votes
3answers
49kviews
Can an Android device act as an iBeacon?
Can an Android device act as an iBeacon and figure out when other Android devices come in its range? Do those other Android devices need to have Bluetooth turned on?
If a customer comes into my shop ...
80votes
1answer
5kviews
Bluetooth hands free client volume control
I have an android device acting as a hands free client device using hfp.
Using the following code:
I am able to receive a call and the speakers and mic are working as expected.
My problem is that ...
79votes
4answers
131kviews
Sniffing/logging your own Android Bluetooth traffic
I recently bought chinesse device that connects via bluetooth with android phone / tablet. Since there is no application availible for windows / linux I want to create one for personal usage.
Usually ...
78votes
7answers
74kviews
How to check if bluetooth is enabled programmatically?
I would like to check if bluetooth is enabled on any Android device periodically. Is there any intents that I could catch using BroadcastReceiver to do so, or is there other ways to do it?
78votes
2answers
57kviews
Detecting state changes made to the BluetoothAdapter?
I have an app with a button on it that I use to turn BT on and off. I have the following code in there;
public void buttonFlip(View view) {
flipBT();
buttonText(view);
}
public void ...