Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [bluetooth-lowenergy]

Bluetooth Low Energy ("BLE") is a radio standard developed in 2006 and integrated in Bluetooth 4.0 in December 2009. Formerly marketed as Bluetooth Smart.

bluetooth-lowenergy
154 votes
6 answers
115k views

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 ...
PaulWoodIII's user avatar
  • 2,646
122 votes
6 answers
141k views

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 ...
Michael Ramos's user avatar
193 votes
5 answers
102k views

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 ...
sa.shadow's user avatar
  • 2,408
124 votes
10 answers
110k views

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 ...
V-PTR's user avatar
  • 3,253
62 votes
10 answers
96k views

Android: Sending data >20 bytes by BLE

I am able to send data upto 20 bytes by connecting to an external BLE device. How do I send data greater than 20 bytes. I have read that we have to either fragment the data or split characteristic to ...
Ankit Aggarwal's user avatar
48 votes
3 answers
46k views

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 ...
Jacopo Tosi's user avatar
45 votes
5 answers
69k views

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 ...
Youssif Saeed's user avatar
24 votes
2 answers
22k views

Which correct flag of autoConnect in connectGatt of BLE?

My goal is to make an auto connection between Bluetooth Low Energy device and phone. I followed the sample code and I found the line // We want to directly connect to the device, so we are setting the ...
Jame's user avatar
  • 3,816
46 votes
5 answers
51k views

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 ...
monzie's user avatar
  • 685
18 votes
3 answers
23k views

BlueZ: How to set up a GATT server from the command line

I would like to know if there is a way to set up a gatt server from the Linux command line. I know that the BlueZ gatttool command allows you to act as a gatt client and interrogate a remote gatt ...
Youssif Saeed's user avatar
51 votes
4 answers
54k views

GATT callback fails to register

I'm trying to write an application to send messages over Bluetooth Low Energy, which will then be passed on by UART in my peripheral. I've followed the steps here and the app scans for and finds the ...
Wibble's user avatar
  • 796
15 votes
1 answer
14k views

Should one create a bond with a Bluetooth LE device

For a Bluetooth project with Xamarin (Android API 21 and up) I would like to know if it is common to create a bond with a Bluetooth device. The current requirements are: The Bluetooth device is used ...
Caspar Kleijne's user avatar
55 votes
2 answers
53k views

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 ...
Ceryni's user avatar
  • 714
38 votes
5 answers
66k views

Android 4.3: How to connect to multiple Bluetooth Low Energy devices

My Question is: Can Android 4.3 (client) have active connections with multiple BLE devices (servers)? If so, how can I achieve it? What I did so far I try to evaluate what throughput you can achieve ...
Andreas Mueller's user avatar
1 vote
2 answers
3k views

Android : Permissions check for BLE [closed]

To use Bluetooth Low Energy in an Android App it is necessary to include multiple permissions in the Manifest and a runtime check the user has approved these permissions The issue is there are 6 ...
RatherBeSailing's user avatar

15 30 50 per page
1
2 3 4 5
67