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
54
votes
3 answers

Error checking if Bluetooth is enabled in Android (REQUEST_ENABLE_BT cannot be resolved to a variable)

I'm trying to do this: BluetoothAdapter bt = BluetoothAdapter.getDefaultAdapter(); if (bt == null){ //Does not support Bluetooth status.setText("Your device does not support Bluetooth"); }else{ //Magic starts.…
Sergio Juan
  • 553
  • 1
  • 4
  • 4
54
votes
2 answers

Use BlueZ Stack As A Peripheral (Advertiser)

Goal: Use BlueZ and an Bluetooth 4LE dongle to create a peripheral that advertises the bluetooth equivalent of "Hello World". Where I'm At: I've currently got the BlueZ stack setup and downloaded, I can use the hci tool to recognize and see the…
Ceryni
  • 704
  • 1
  • 7
  • 14
53
votes
4 answers

iOS Core Bluetooth : Getting API MISUSE Warning

I am writing a test app in iOS 7 with the Core Bluetooth API. When I am testing the application I found that I am getting the following warning message: TestBluetooth[626:60b] CoreBluetooth[API MISUSE] can only accept commands while in the powered…
52
votes
5 answers

How to receive serial data using android bluetooth

I am new to android. I am designing an android application that receives serial data from a hardware device through bluetooth. I am working on Htc desire S. I used the sample Bluetooth chat code to receive data. But the data received is incorrect.…
Khushboo
  • 1,716
  • 6
  • 24
  • 34
51
votes
5 answers

How to get list of available Bluetooth devices?

I'm currently creating an iPhone app (Xcode 4.3.1, IOS 5) that could use Bluetooth devices! Main goal of this application is indoor navigation (GPS inside buildings isn't really accurate). The only solution I see here (to keep my app on AppStore) is…
mz87
  • 1,398
  • 2
  • 13
  • 13
50
votes
4 answers

Android + Pair devices via bluetooth programmatically

I want to discover bluetooth devices in range, list and pair to them on click. I used following code but its just closing application when I click on device name which I want to pair. I want to know mistake in my code or any other way to do what i…
Kiran
  • 3,095
  • 5
  • 23
  • 38
49
votes
3 answers

How can I avoid or dismiss Android's Bluetooth pairing notification when I am doing programmatic pairing?

I have an app where I am programmatically controlling Bluetooth pairing and unpairing. I can pair before connection and unpair afterwards. The reason I need to do this is specific to my application and not in the scope of my question. Basically…
Joel F
  • 2,591
  • 1
  • 19
  • 17
49
votes
3 answers

Android - Bluetooth discovery doesn't find any device

I'm currently working on a little app to get started with the services that the Bluetooth Android API can provide. Edit -> Answer: It seems that the issue was due to the specific Nexus 5 devices. Seems like their bluetooth receiver doesn't work…
Amesys
  • 816
  • 2
  • 10
  • 19
49
votes
5 answers

Service discovery failed exception using Bluetooth on Android

I'm currently working on an Android application that connects to an instrument via Bluetooth and need to write string commands and receive string responses back. Currently I have the connect/read/write working for TCP/IP over Wi-Fi and now trying to…
TxAg
  • 1,485
  • 2
  • 13
  • 14
49
votes
5 answers

How to prevent Android bluetooth RFCOMM connection from dying immediately after .connect()?

This problem has been solved! Thanks a lot to Brad, Denis and junkie! You're the heroes! :) This is the working code. It connects to Zeemote and reads data from it. ===== Code ===== public class ZeeTest extends Activity { @Override public…
Gilead
  • 1,516
  • 2
  • 18
  • 26
49
votes
6 answers

getBluetoothService called with no BluetoothManagerCallback

I am getting getBluetoothService() called with no BluetoothManagerCallback as an error frequently in my Android application. I have no idea what is causing this or anything about bluetooth manager callbacks. Can anyone give me a good idea of what…
dacopenhagen
  • 2,414
  • 2
  • 23
  • 29
48
votes
7 answers

bluetoothctl No default controller available

It's a bit wired here. I have a problem is bluetoothctl always said "No default controller available". I found there are many people had same problem with me. But the situation is a bit different from them. I can see my hciconfig -a have information…
user3534541
  • 491
  • 1
  • 4
  • 4
48
votes
3 answers

Bluetooth Low Energy startScan on Android 6.0 does not find devices

I'm developing an application with Bluetooth Low Energy using Nexus 5. It worked on Lollipop and now it is not working on Marshmallow. I set the ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION permissions in the manifest and on runTime in the…
48
votes
2 answers

What is AWDL (Apple Wireless Direct Link) and how does it work?

I'm trying to find out what AWDL is. On iOS, if you use Apple's peer-to-peer networking over BlueTooth, it seems Apple creates a new Network Interface "awdl0" to implement (I guess) IP-over-BT. But I can't find any docs on this tech, or this…
Adam
  • 32,900
  • 16
  • 126
  • 153
48
votes
1 answer

What are the nominal distances for iBeacon "Far", "Near", and "Immediate"

I've been playing around with using iOS devices as both broadcasters and receivers using the new iBeacon API's in iOS 7. The docs don't go into detail at which distances the receiving device should see each proximity indicator, and specifically…
Erik Kerber
  • 5,646
  • 7
  • 38
  • 56