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
9,675
questions
0
votes
0
answers
6
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
9
views
bluetooth low energy scan not finding my raspberry pi
I created app that scan for ble devices but when I started the scan the app didn't find my rpi.
anyone know why and what can I do to fix it? it looks like rpi doesnt support ble so what can I do to ...
0
votes
0
answers
19
views
IBeacon data in MAUI application [closed]
I'm searching for a package that can read some data (major,minor and mac address) from beacons (via bluetooth/bluetooth LE) but I'm not able to find anything... must work on iOS and android (no need ...
0
votes
0
answers
49
views
find characteristics of BLE barcode scanners [closed]
I am developing a .NET MAUI app that receives barcodes from an external barcode scanner in Bluetooth Low Energy (BLE) mode. Using the NuGet package Plugin.BLE, my app can now discover BLE devices, ...
0
votes
0
answers
32
views
ESP32 and Arduino Capabilities [closed]
I am wondering generally how an esp32 BLE module (linked here)functions and if it is a practical module to use in my project. I understand the proximity accuracy is far from perfect but bluetooth/wifi ...
1
vote
1
answer
76
views
AT+PASSKEY in BLE 5.0 . How to set and use?
I would like to use the EBYTE E104-BT52 module on my device and connect to it via an Android smartphone.
But what if the client device is running BLE 4.2 and it will be unsecure pairing.
To avoid this ...
0
votes
0
answers
21
views
PWA uses navigator.bluetooth.requestDevice but is failing
I have developed a PWA where I use navigator.bluetooth.requestDevice to get a list of available devices around the phone. On most devices based on Android, this code works very well. But I have one ...
0
votes
0
answers
26
views
I want to retrieve iPhone's notification data to PC. How can I receive the notification's app icon?
I want to make a Windows application that connects to a nearby iPhone, and displays the phone's current notifications as a list (which is similar to Microsoft Your Phone's notification feature).
I'm ...
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
37
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
28
views
What SMP Packet is missing here for the BLE Pairing to finish successfully?
I am trying to perform a MitM-Attack for educational purposes on my own BLE Keyboard with help of this Framework:
Mirage (I modified this pull requests further for my own purposes though)
On the ...
0
votes
0
answers
36
views
.NET MAUI BLE app not showing any services
I am trying to develop an application that connects to a BLE device (ESP32) and read the data sent by it using Plugin.BLE and .NET MAUI.
BTPage.xaml.cs
using Plugin.BLE;
using Plugin.BLE.Abstractions....
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
votes
1
answer
83
views
Why does Bluetooth le scan return address XX:XX:XX:XX:55:66 in android 14
I have a Bluetooth LE app that has been working fine since android 4.0. I have fixed the permissions for 14 to add the following to the Manifest
I fixed a few other problems and everything is ...
0
votes
1
answer
76
views
How to establish BLE connection without going through SMP process in single ended Bluetooth pairing
After pairing and connecting an Android phone and a Windows computer on the Bluetooth settings page, open the phone's Bluetooth interface to release the pairing with the computer. At this point, using ...
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
2
answers
23
views
How to calculate BLE SC Pairing Confirm Value for Passkey Entry in Python?
I'm implementing some Bluetooth Low Energy functionalities in Python.
In the pairing process there is a Pairing Confirm Value like specified in Bluetooth Core Specs 5.3 page 1604 and 1562f.
I have the ...
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 ...
0
votes
1
answer
34
views
GATTTool fails to read characteristics/attribute for Heart Beat data
I'm trying to read the heart rate data from my Xiaomi Mi Band 8 using BlueZ's gatttool. The heart rate data is found in the characteristic with UUID 0x2a37, which has the property NOTIFY.
However, ...
-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
16
views
Making the BLE (iBeacon mode) connectable on a STM32WB55 board
I'm currently working on a STM32WB55 board and I'm trying to make the BLE (iBeacon mode) connectable.
Actually, the porpuse is to send a data frame via BLE and be able to go back and modify some ...
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 &...
1
vote
1
answer
40
views
BLE FTMS service not discoverable in python But discovered in nrfconnect App
I am using the following code to make an ftms service. This service is easily visible on the mobile phone as shown below but the python script below doesn't show that and gives some unknown junk ...
0
votes
1
answer
46
views
CoreBluetooth API for enumerating and selecting local BLE adapters?
I'm using the CoreBluetooth framework to have my Mac act as a BLE Central, to scan for, connect to, and exchange data with a nearby IoT BLE Peripheral.
I haven't found an API for enumerating adapters (...
0
votes
1
answer
70
views
How to bond a BLE device with a phone using Flutter and flutter_blue package?
I'm developing a Flutter application where I need to connect and bond a Bluetooth Low Energy (BLE) device with a phone. I'm using the flutter_blue package for Bluetooth connectivity. While I can scan ...
0
votes
0
answers
24
views
Flutter: universal_ble package. Can't set notification on the bluetooth device
I have 2 apps: desktop on Flutter and mobile Java on Android. What I'm tryin to do is to connect to the Android app's GattServer and set its characteristic to notify me when its value change through ...
1
vote
1
answer
44
views
Android BLE establishing connection
I am developing an Android BLE application for connecting with a BLE peripheral device. The BLE peripheral device has strong energy constraints and therefore the connection interval should be kept ...
0
votes
1
answer
80
views
Flutter blue plus no scan result since I upgraded to 1.32.8 from 1.5.2
My app was working well in 1.5.2, getting all BLE devices nearby.
Since the upgrade, I got no scan results. (This upgrade is mandatory as 1.5.2 is crashing when targeting Android 14 as required by ...
0
votes
0
answers
20
views
BlueNRG2 Primary Services increase
I am using BLUENRG-2 (STEVAL-IDB008V1M) and I have created new 4 custom primary services but only 3 are visible at a time. Is there any way to increase its count?
I tried initialising all 4 services ...
0
votes
1
answer
86
views
MAUI Bluetooth Custom Pairing: How to prompt a user for the pairing-PIN-code displayed on the bluetooth-device to complete the pairing?
Essentially what the subject says. I have a bluetooth device which displays a PIN on its screen every time I try to pair with it using my windows 10 machine. I need to display some sort of popup ...
1
vote
0
answers
26
views
Set Target Inclination of Hometrainer with BLE
I'm currently trying to include the incline angle over BLE with the Fitness Machine Control Point characteristic with Python Bleak. I'm pretty sure that the correct characteristic is "00002ad9-...
0
votes
1
answer
51
views
How to improve the Bluetooth connection speed of the primary and secondary computer
I currently have a drawer lock model F5, which is typically installed inside drawers in rooms, shoe cabinets, wardrobes, and similar places. I possess a Bluetooth unlocking device A1, which functions ...
-1
votes
0
answers
18
views
Write failed: this characteristic not support write in Ble Serial communication
private void sendTokenToBleDevice(String token) {
String tokenWithoutDashes = token.replace("-", "");
byte[] tokenBytes = tokenWithoutDashes.getBytes(); // Assuming token is ...
1
vote
1
answer
40
views
Multiperipheral Links nRF52832
I am new to embedded systems. I am trying to increase the number of ble peripheral links.
static uint16_t m_connection_handle[NRF_SDH_BLE_PERIPHERAL_LINK_COUNT] = {BLE_CONN_HANDLE_INVALID};
static ...
-1
votes
0
answers
15
views
How to change advertise period to some seconds by lib AltBeacon or by native instruments in Android?
For example, I know about AdvertiseSettings class, and parameters ADVERTISE_MODE_LOW_POWER, ADVERTISE_MODE_BALANCED, ADVERTISE_MODE_LOW_LATENCY.
But how we can set advertise period (frequency of ...
0
votes
0
answers
27
views
Problem maintaining a bluetooth connection on an ios app
I'm trying to create an application to exchange data with an ESP-32 but I can't keep the bluetooth connection when navigating between the pages of my application. I then tried to make a bluetooth ...
0
votes
1
answer
34
views
How do I set a Non-Resolvable Private Address or a Static Random Address on an Android BLE Advertisement?
The Android documentation provides some information on how to start with BLE Advertising and the developer reference about BluetoothLeAdvertiser further provides more information on the topic.
...
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
41
views
How do I get permission for BluetoothScan, BluetoothAdvertise, and BluetoothConnect in iOS in Flutter?
I have requested for Permission using Permission Handler package in flutter but yet I am getting request granted for all request as false. Only getting Permission.bluetooth.isGranted as true.
await [
...
0
votes
0
answers
46
views
Pair Bluetooth devices using Bleak
How can I pair a bluetooth device using bleak
I have developed a code for scanning of bluetooth devices nearby how can I pair devices.
This is a code written to scan bluetooth devices
from bleak ...
0
votes
1
answer
48
views
Using Nordic Scan Module: Allowing short name filtering on Seeed Studio Xiao BLE board
I am attempting to use the scanning module to scan with a filter. Right now I am trying to implement a short name filter.
I am using the nrf Connect extension for VS code for the environment and I am ...
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
19
views
code 137 is AUTHORIZATION_FAILED. bonding error popup is taking more than 1 min
@Override
public void onCharacteristicRead(BluetoothGatt gatt,
BluetoothGattCharacteristic characteristic,
int ...