All Questions
Tagged with bluetooth-lowenergy android
4,012
questions
0
votes
0
answers
5
views
Android 14 BLE - WRITE_TYPE_DEFAULT vs WRITE_TYPE_NO_RESPONSE
My Android and iOS app (react native based) uses BLE to connect to a custom esp32-based peripheral. It's been working fine for years, but starting with Android 14 some features are not working.
In ...
0
votes
0
answers
19
views
Android Kotlin ScanFilter Builder class not functioning
As stated above, I'm trying to use ScanFilter.Builder() to construct a filter for my bluetooth application, and it gives an unresolved reference error.
I have ScanFilter properly imported, and the ...
0
votes
1
answer
47
views
How to use BLE specification XML service files?
The link BLE device information XML is a BLE service XML file copied from the original GATT specification files. Can I and how can I use this XML file for my project on Android Studio in Java? I am ...
0
votes
0
answers
36
views
Android can't detect BLE devices
I'm trying to do an indoor localization app using bluetooth beacons. Everything seems to be working but my android studio just doesnt detect any rssi value. I've tried all the solutions online but ...
0
votes
1
answer
54
views
How to read Bluetooth Low Energy GAP characteristic values as a string?
Hello I am new to developing an app and even newer to the concept of BLE. I am developing an application on android using Java that is capable of scanning BLE devices nearby. The main purpose is to ...
-1
votes
0
answers
20
views
How to Request Bluetooth Permission with a Pop-up in Android 13 while doing this I got an error
Android Bluetooth Permission not working on Android 13.
I want pop up for Permission to ask user for Bluetooth and location
Getting error in permission
package com.eapro.myproject
import android....
1
vote
1
answer
32
views
Kotlin app failing to connect to bluetooth socket (ESP32S device)
val device: BluetoothDevice = bluetoothAdapter.getRemoteDevice(deviceAddress)
val uuid: UUID = UUID.fromString(uuidString)
try {
bluetoothSocket = device....
0
votes
0
answers
29
views
Android BLE requestMtu() doesn't seem to work
Introduction
I am involved in developing an Android application that controls a physical device via BLE.
One of the features of the app is to send a large amount of data. My goal is to try to optimize ...
0
votes
1
answer
29
views
How to Convert a Byte Array to Unsigned Short and Calculate Standby Time from Battery Current in Android?
I'm working on an Android project where I need to interpret a byte array representing the battery current in mA and calculate the remaining standby time based on the battery capacity.
Currently, I ...
-1
votes
0
answers
36
views
How to determine the correct UUID for sending a key (password that is used to unlock the device) [closed]
I'm working on an Android application that needs to connect to a hardware device via Bluetooth Low Energy (BLE). To access the data on this device, I need to send a specific key to unlock the data ...
0
votes
1
answer
21
views
Standard BLE library android.bluetooth. DFU mode
How do I download DFU firmware via the BLE standard library (android.bluetooth) in Android Studio?
I am using an NRF controller. I debug via NRF Connect. There is an option to upload firmware via DFU ...
0
votes
0
answers
32
views
i am not able to connect to ble device,where is the problem in my mainactivity.java code can somebody help me fix it?
this is mainactivity.java that is in android studio.
package com.example.bleapp;
import android.Manifest;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothGatt;
import ...
-1
votes
1
answer
92
views
How do I make a BLE connection to a peripheral with Kotlin Multiplatform or native Android?
Working with BLE through the Android SDK causes a lot of pain. I would like someone to help me with a good implementation of BLE connectivity. Also, it would be nice if this code was also available on ...
0
votes
0
answers
41
views
How to fix BLE 133 gatt conn timeOut?
I am developing a BLE scanning application. I have a large number of devices and I need
Find
Connect
Process
Disable
I have implemented 5 instances of BLE managers that use devices in parallel and ...
-1
votes
0
answers
21
views
Android BLE Advertise & Gatt Server Which NOT Require Pairing/Bonding to Connect
I'm using the same code from here :
https://github.com/itanbp/android-ble-peripheral-central/tree/master/app/src/main/java/itan/com/bluetoothle
I start BLE advertising and GattServer. I added my read &...