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

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 and he doesn't have my app installed on his…
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113
76
votes
10 answers

Android BLE API: GATT Notification not received

Device used for testing: Nexus 4, Android 4.3 Connection is working fine but the onCharacteristicChangedMethod of my callback is never called. However I am registering for notifications using setCharacteristicNotification(char, true) inside…
Boni2k
  • 3,255
  • 3
  • 23
  • 27
71
votes
4 answers

Run iPhone as an iBeacon in the background

Is it possible to run an iOS 7 device as a Bluetooth LE peripheral (iBeacon) and have it advertise in the background? I have been able to get it to advertise in the foreground with the code below and can see it from another iOS device but as soon…
jpcoder
  • 1,125
  • 2
  • 9
  • 15
68
votes
2 answers

Using iOS GameKit's "Bluetooth Bonjour" with other platforms

I'm interested in connecting to iOS-based devices over Bluetooth. I can see that the "Local Network" service is exposed, but I cannot find any extra information about it. Property stored under key 0x0204 looks like a Bonjour key. Which protocol is…
Ivan Vučica
  • 9,529
  • 9
  • 60
  • 111
64
votes
3 answers

Transfer data between iOS and Android via Bluetooth?

I've been reading up on how to transfer data between iOS devices over Bluetooth using GameKit. I'm not writing a game, per se, but do have a need to transfer a small amount of binary data between two devices. Between two iOS devices, this is easy…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
62
votes
7 answers

How to write to a file in .NET Core?

I want to use the Bluetooth LE functions in .NET Core (specifically, BluetoothLEAdvertisementWatcher) to write a scanner which logs information to a file. This is to run as a desktop application and preferably as a command line app. Constructors…
gauss256
  • 2,603
  • 4
  • 23
  • 23
59
votes
8 answers

Multiple bluetooth connection

I want to connect 3 devices via bluetooth (My Droid must connect to 2 bluetooth devices). I 've connected my Droid to 1 device using Bluetooth chat. How should I modify it for multiple bluetooth devices?
vic
  • 739
  • 2
  • 8
  • 8
58
votes
1 answer

Setting Notifications on Characteristic results in Invalid Handle error

Using CoreBluetooth I want to send data from iPhone to Mac. For this I wrote code like iPhone as 'Peripheral' and Mac as 'Central'. It works perfectly, but sometimes it disconnects directly and then it continuously connects and disconnects. Some…
Suresh
  • 1,015
  • 9
  • 16
57
votes
6 answers

Bluetooth sniffer - preferably mac osx

I am trying to find a bluetooth packet sniffer to capture bluetooth signals from close by devices. I would like for this application to work on mac osx. I have had difficulty finding anything at all so my requirements are low right now - something…
Jim
  • 571
  • 1
  • 5
  • 3
57
votes
4 answers

Programmatically connect to paired Bluetooth device

Is there a way, using the Android SDK, to programmatically connect to an already-paired Bluetooth device? In other words: I can go into Settings -> Wireless & networks -> Bluetooth settings, and tap the device (listed as "Paired but not connected"),…
rmc47
  • 1,364
  • 1
  • 13
  • 17
57
votes
3 answers

Bluetooth in react-native

My project requires to receive&send bluetooth signal, and I am pretty new to react-native so which component I can use in react-native for bluetooth related functionality?
user1522451
57
votes
1 answer

Android Bluetooth Example

Can anybody give me Android Bluetooth communication tutorial links or hints? Please don't tell me to refer to the BluetoothChat example, I can only understand how to discover and connect to devices but don't know how to send and receive the data…
Pratik
  • 831
  • 2
  • 8
  • 13
56
votes
3 answers

Where is the bluetooth/bluetooth.h located in Linux?

I want to build a c file based on BlueZ but seems no bluetooth.h file in my system. fatal error: bluetooth/bluetooth.h: No such file or directory I am sure the bluetooth dongle is running correctly and I have built Bluez successfully. Update For my…
Yiding
  • 2,914
  • 3
  • 21
  • 16
55
votes
2 answers

Difference between close() and disconnect()?

Android Bluetooth Low Energy API implements 1 method to connect to the device connectGatt() but 2 methods to close the connection disconnect() and close(). Documentation says: disconnect(): Disconnects an established connection, or cancels a…
Arturs Vancans
  • 4,531
  • 14
  • 47
  • 76
55
votes
5 answers

Get MAC address of bluetooth low energy peripheral in iOS

I am currently working on an iOS application based on bluetooth low energy devices. In order to get a unique identifier to compare the peripherals got, I have to get the MAC address of the peripherals. It is observed that the UUID property of a…
Feby Sam
  • 793
  • 1
  • 6
  • 14