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.

Bluetooth wireless technology was developed by Jaap Haartsen Mattisson Svenis in 1994 and is the global short-range wireless standard enabling connectivity for a broad range of electronic devices using short-wavelength UHF radio waves in the ISM band from 2.4 to 2.485 GHz.

Features include:

  • small-form factor radio
  • low power
  • low cost
  • built-in security
  • robustness
  • ease-of-use
  • ad hoc networking abilities.

Manufacturers and consumers can choose to activate one or all of these features in Bluetooth enabled devices, depending on device functionality.

Oficial Site

bluetooth.com

Mainly specifications

  • 1.2 2003, 721 kbit/s
  • 2.0 2004, 2,1 Mbit/s
  • 3.0 + HS 2009, 24 Mbit/s
  • 4.0 2010, 32 Mbit/s
  • 5.0 2016-17, 64 Mbit/s

More details in wikipedia.

Books

17156 questions
346
votes
5 answers

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 app in the iOS simulator and BOOM all of a sudden…
world
  • 3,932
  • 2
  • 10
  • 12
192
votes
5 answers

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 connect a device for the first time I am rarely able…
153
votes
6 answers

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 from the AirLocate Sample code and started…
PaulWoodIII
  • 2,636
  • 7
  • 31
  • 35
122
votes
6 answers

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 feet away...is it possible for an ibeacon to…
Michael Ramos
  • 5,523
  • 8
  • 36
  • 51
121
votes
10 answers

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 Android 6.0 does not find devices Basically, you need…
V-PTR
  • 3,183
  • 3
  • 20
  • 21
114
votes
10 answers

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()) { Intent enableBtIntent = new…
user458295
  • 1,239
  • 4
  • 12
  • 11
112
votes
16 answers

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 postings (e.g.…
matthes
  • 2,972
  • 3
  • 15
  • 18
102
votes
13 answers

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 entering "menu gatt" in bluetoothctl and then listing…
Ricardo
  • 1,175
  • 2
  • 8
  • 11
90
votes
7 answers

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 in their names? Why does the BluetoothChat sample…
ForeverWintr
  • 5,492
  • 2
  • 36
  • 65
85
votes
7 answers

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?
Zerhinne
  • 1,987
  • 2
  • 22
  • 43
83
votes
2 answers

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 buttonText(View view) { Button buttonText = (Button)…
raingod
  • 1,377
  • 1
  • 11
  • 24
83
votes
12 answers

Android 12 New Bluetooth Permissions

Bluetooth is the main dependency of our app. So, We already try to implement new Android 12 Bluetooth permissions. Our only resource is Android developers New Bluetooth permissions in Android 12. There is just saying add…
82
votes
1 answer

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 I can't seem to control the volume. I tried using…
Distwo
  • 11,569
  • 8
  • 42
  • 65
82
votes
1 answer

(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 connect several devices with different Bluetooth…
ggg
  • 961
  • 6
  • 8
82
votes
4 answers

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 phone connects to the device and exchanges some…
peku33
  • 3,628
  • 3
  • 26
  • 44
1
2 3
99 100