All Questions
Tagged with bluetooth-lowenergy kotlin
203
questions
-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
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 ...
0
votes
1
answer
42
views
Problems reading BLE characteristic
I am sending a byte array of size 8 every one second from HC08 module using software serial on arduino nano.However, when i try to read characteristic from my android app, where i also read every one ...
0
votes
1
answer
42
views
Need help figuring out how to successfully communicate with simple Bluetooth Ble Button through UUID
Im currently working on an app which needs simple communication between a bluetooth button (basically a selfie button) and the connected phone through the app. Now, i can connect normally with my ...
0
votes
0
answers
20
views
I want make Bluetooth calling feature in Android App
If Phone A Having App A get a phone call it should be shown in Phone B having App B. Considering Both Phones are paired. How do I achieve this. I tried something. Is there any open source project for ...
0
votes
0
answers
39
views
To perform OTA for BLE devices in Android Kotlin
When i write the end command after the data is written to the OTA data characteristics , the end command is found in the logs of the BLE device so the firmware is not updating.
I need to Perform OTA ...
0
votes
0
answers
40
views
Record Access Control Point last record command returns all records
Currently I'm working with glucose meter and communicating with it via BLE. At the moment there are 3 records. The problem is when I'm trying to get only last record stored on the device through RACP ...
0
votes
0
answers
48
views
Does it make sense to check for nullity of an Application instance in a foreground service?
I use BleApp : Application() to store BluetoohDevice, BluetoothGattCharacteristic and some state booleans. I access all of these properties from my foreground service BleService and from activities. ...
0
votes
0
answers
43
views
BLE Peripheral disconnection after sending a command in some Android phones
I am working on an android project which works with a smart ring using bluetooth. The problem is app and ring are working fine 95% of the Android phones. But in 5% of the phones getting disconnection ...
2
votes
0
answers
102
views
Android Companion Device Manager Fails to Recognize Associated BluetoothLE Device After Reboot
I am developing an Android app that utilizes the Companion Device Manager (CDM) to connect with associated devices. My implementation uses the startObservingDevicePresence method, which functions ...
0
votes
0
answers
32
views
How to connect with a device using pairing code entered from textfield in flutter?
User input is taken from the App(TextField), when bonding with the device i need to pass this pairing code to the device from the App, currently a system dialog appear on initiating bonding with the ...
0
votes
0
answers
123
views
BLE Android Nordic
I'm writing an android application, using
no.nordicsemi.android:ble:2.3.1.
I connect to the sensor and write 49KB data to it.
Before recording, I set the desired interval (CONNECTION_PRIORITY_HIGH 11....
0
votes
1
answer
77
views
Is there a way to convert the BLE GATT callback from asynchronous to synchronous?
I am new to Android development and concurrency and I am trying to build a Kotlin app, where it connects to a BLE device and reads characteristics using readCharacteristic function and use the value ...
1
vote
1
answer
41
views
bluetoothLeScaner.startScan(scanCallback) isnt returning null
I am attempting to connect my phone to a bluetooth device. I am using an android 13 . In my scandevices file, I am coming across an issue on this line bluetoothLeScaner.startScan(scanCallback). I am ...