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
45
votes
7 answers

Bluetooth and WIFI Printing for Android

We would need a portable printer (handheld, it is important) that can connect to android phone via bluetooth or wifi. What I know currently: No standard printing SDK available for Android this time There is a non official SDK called iPrint SDK.…
Gábor Lipták
  • 9,646
  • 2
  • 59
  • 113
45
votes
1 answer

Is there a command-line interface to list all Bluetooth devices in range on mac?

I want to list all in-range Bluetooth devices, ideally with hostnames, but MAC addresses would be sufficient. I need a command that performs an active scan so I can poll to see if my device is nearby, not one that lists previously paired…
Nick Sweeting
  • 5,364
  • 5
  • 27
  • 37
45
votes
5 answers

Routing audio to Bluetooth Headset (non-A2DP) on Android

I have a non-A2DP single ear BT headset (Plantronics 510) and would like to use it with my Android HTC Magic to listen to low quality audio like podcasts/audio books. After much googling I found that only phone call audio can be routed to the…
Jayesh
  • 51,787
  • 22
  • 76
  • 99
45
votes
5 answers

Bluetooth Low Energy: listening for notifications/indications in linux

I'm trying to communicate with a BLE module through a Linux machine (the module is running a heart rate profile). So far, I've been able to do everything I need except listening for Notifications and indications (e.g. listening for the Heart Rate…
Youssif Saeed
  • 11,789
  • 4
  • 44
  • 72
44
votes
5 answers

How to unpair or delete paired bluetooth device programmatically on android?

The project is to use my android phone to connect with my arduino devices. but how can I unpair the paired ones. I see it seems the paired list is stored where bluetoothadapter could retrieve anytime. PS: 1st, I know long press paired device will…
Dev Perfecular
  • 1,413
  • 1
  • 11
  • 14
44
votes
5 answers

How to programmatically force bluetooth low energy service discovery on Android without using cache

I am using Android 4.4.2 on a Nexus 7. I have a bluetooth low energy peripheral whose services change when it is rebooted. The android app calls BluetoothGatt.discoverServices(). However Android only queries the peripheral once to discover…
monzie
  • 665
  • 1
  • 6
  • 12
43
votes
7 answers

How to get the status of bluetooth (ON/OFF) in iphone programmatically

I trying to get the Status of iPhone/iPod Bluetooth that whether it is ON or OFF programmatically. Is it possible using some Apple API or third party API.
Nilikh
  • 431
  • 1
  • 4
  • 3
43
votes
7 answers

How to measure distance between two iphone devices using bluetooth?

I'd like to do something in the following using bluetooth. Measure and display how far my iPhone is from another iPhone. Display direction of my iPhone. For example, I'd like to display something in the following on my iPhone application. My…
Floppy Max
  • 431
  • 1
  • 4
  • 3
43
votes
6 answers

Disconnect a bluetooth socket in Android

I'm developing a program in which, from an Android Phone, I have to connect as a client to a Bluetooth medical sensor. I'm using the official Bluetooth API and no problem during connection (SPP profile), but when I end the socket, the sensor is…
user365610
  • 443
  • 1
  • 5
  • 9
43
votes
2 answers

Android sample bluetooth code to send a simple string via bluetooth

I want to send a simple string data such as 'a' from an android device to other one via bluetooth. I looked sample bluetooth code in android sdk but it is so complex for me. I cannot understand how I can send only specific data when I press a…
user3374956
  • 433
  • 1
  • 5
  • 5
43
votes
7 answers

Linux command line howto accept pairing for bluetooth device without pin

Is there a way to pair a device in linux without requiring a pin(for testing purposes so I need it to be done w/out human interaction, assuming you have root access)? bluez-simple-agent seems to require a pin except with some simple devices such as…
Roman A. Taycher
  • 18,619
  • 19
  • 86
  • 141
42
votes
11 answers

Bluetooth HCI snoop log not generated

I'm running Android 4.4.2 and I enabled the "Bluetooth HCI snoop log" as described here Sniffing/logging your own Android Bluetooth traffic After turning bluetooth on and off I rebooted the phone. I could not find the log file in the expected…
Jack Shultz
  • 2,031
  • 2
  • 30
  • 53
41
votes
4 answers

Android/iOS Peer-To-Peer architecture

This is kind of wide question, I found many information about this topic. Possible technologies Bluetooth GameKit iOS only? Bluetooth P2P library, with Wi-Fi and GPS? Wi-Fi Wifi Direct? Bonjour zeroconf? Neither of these does currently have…
Marek Sebera
  • 39,650
  • 37
  • 158
  • 244
41
votes
1 answer

the differences between createRfcommSocketToServiceRecord and createRfcommSocket

What are the differences between these two ways below connecting to a bluetooth Device: 1) UUID uuid = UUID.fromString(Values.SPP_UUID); //Standard SerialPortService ID mmSocket = mmDevice.createRfcommSocketToServiceRecord(uuid); 2) Method m =…
CodeAlien
  • 766
  • 2
  • 7
  • 15
40
votes
5 answers

Is it possible to make a computer behave as a bluetooth HID device?

Is it possible to make a computer behave as a bluetooth HID device? That is, given a local machine with a standard USB keyboard plugged into it, other devices could discover this machine and use it as a bluetooth keyboard. I'd like to create a linux…
Michael Wehner
  • 753
  • 2
  • 6
  • 13