All Questions

Filter by
Sorted by
Tagged with
4 votes
1 answer
2k views

How to test BLE objects on Android?

I am learning to communicate over Bluetooth Low Energy on Android.. Here is an example app There in there source code are several Bluetooth related objects, which were final classes obviously: private ...
Ralf Wickum's user avatar
  • 3,062
3 votes
1 answer
557 views

Android: Why is BluetoothLeScanner sometimes not discovering any BLE device?

I'm using BluetoothLeScanner to scan for BLE devices, which I start using: startScan(null, settings.getScanSettings(), scanCallback); Every once in a while, a call to startScan() does not discover any ...
matdev's user avatar
  • 4,225
2 votes
0 answers
485 views

Delay in Android BLE StartScan returning a match

We have developed an Android app that tracks vehicle journeys, where each vehicle has a BLE device installed that wakes up when the vehicle is started. To identify when the user is in the vehicle and ...
user2060819's user avatar
2 votes
0 answers
462 views

Get any error code on connect failure due to max connections limit reached on Android BLE

I am connecting to a BLE device and want a specific error code that could help me determine the reason of connection failure. Scenario i want to cover is for maximum connections limit being reached. ...
Sameeksha Jain's user avatar
1 vote
1 answer
710 views

BLE scan callback not invoked on missing permission

I am using Samsung Note 8 (Android 9) and Samsung A50(Android 10). I am doing BLE scan which needs Bluetooth as well as location permissions (Android >=23). I am NOT providing the Location ...
Sameeksha Jain's user avatar
0 votes
1 answer
162 views

Is the transmission power on Bluetooth Low Energy an Android configurable?

I have a Bluetooth Low Energy Android app project here which works fine so far for most of my android smartphones. I use my BLE weather thermometer in my app anywhere within my room, it works. Except ...
Pavel Pipovic's user avatar
0 votes
1 answer
382 views

Ble distance calculation using Time

Is it possible to calculate distance between BLE-BLE or Beacon-BLE device using Time(T) taken on packet received on receiver device with measured power or RSSI value? Is there any formula for that?
Shanmugapriyan's user avatar