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

All Questions

-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 ...
Rani singh's user avatar
2 votes
1 answer
1k views

BLE's - onCharacteristicRead not invoked on calling readCharacteristic

I'm trying to read a value from a custom characteristic in a custom service on a BLE device. I successfully call the readCharcteristic method as it returns true. However, the onCharacteristicRead ...
K K's user avatar
  • 73
0 votes
1 answer
708 views

BLE android read readCharacteristic

I Try to devlope android app to read from cycling sensor , if anyone can help plz . its connect to the sensor but cant read the characteristic. i dont know how to read the characterestic value . its a ...
Adam DOGLA's user avatar
1 vote
0 answers
94 views

Is there any solutions available to send data from BluetoothGattServer to connected devices simultaneously?

Here is my server code: private BluetoothGattServer mGattServer; mBluetoothLeAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser(); GattServerCallback gattServerCallback = new GattServerCallback(...
Muneer's user avatar
  • 11
1 vote
1 answer
562 views

Why Android BLE gatt callback method onCharacteristicChanged callback is called in lower rate in Wear OS device than on smartphone?

I develop an application designed for Wear OS devices that received data using BLE as Gatt client. I set the mtu size the maximum possible (517 bytes), and need to transfer some large amount of data - ...
user2993539's user avatar
0 votes
0 answers
235 views

Android BLE onCharacteristicChanged is not called on second time

What I am trying to do: I am building an android ble application which will connect to IOT devices and when sending command it will return with some responses. For example when sending "STATUS&...
Sabarinathan's user avatar
3 votes
0 answers
317 views

Android BLE DFU multiple devices update one after another...But some devices fails to update

By using nordic Dfu library (updated) I have to update firmware of devices in one go,I have mac addresses of devices which required to update, let say i have 30 devices with their mac addresses and ...
Tasawar Khaliq's user avatar
0 votes
0 answers
228 views

Can't read the value that comes with the GATT Service characteristic; Not sure if I setup the GATT server correctly

The BLE is advertising just fine. I can establish a connection with it but I can't read the characteristic value I set here on the initialization of GATT server. This is the GATT Server setup @...
Drix Lopez's user avatar
0 votes
1 answer
531 views

Android ble: Unable to send large data

I'm trying to implement an app for transfer some strings between ble devices (for now one device act as central and the other one as pheripheral) but without success. This is how my peripheral (...
giozh's user avatar
  • 10.1k
1 vote
0 answers
577 views

BLE iOS sending data to Android gattServer peripheral:writeValue:forCharacteristic:type not working

I am trying to use android as a BLE peripheral (gatt server). I was able to get it advertising, and I can have the iOS app reeive notifications when certain characteristics are changed, but I am ...
Chase Roberts's user avatar
0 votes
0 answers
2k views

GATT_READ_NOT_PERMIT error when trying to use Android device as GATT server

I have an android application that has BLE GATT Server running so the android phone would be a peripheral device and other devices can connect to it. Sometimes the connections works fine, but very ...
Radoslav Ignatov's user avatar
2 votes
1 answer
6k views

Scanning for BLE devices on Android 8+ in the background

I'm using the following method from BLE scanner API on Android 8+ to scan for BLE Beacons startScan(List<ScanFilter> filters, ScanSettings settings, PendingIntent callbackIntent) The problem ...
Metwalli's user avatar
  • 1,861
3 votes
1 answer
4k views

Getting Type_Gatt_Error with status 133 while connecting to AND UA651BLE

I am trying to connect to AnD UA-651BLE blood pressure monitor and get the values in an android app. The app is able to find the device but I am getting Type_Gatt_Error in 'onConnectionStateChange'. ...
Roohi Zuwairiyah's user avatar
3 votes
1 answer
1k views

Turning off Bluetooth Adapter not calling onConnectionStateChange Android 8.1.0

Turning off the bluetooth in Android system settings gives us the BluetoothGattCallback.onConnectionStateChange() call in Android < 27 (Oreo). However when I try it on my Pixel or Nexus 5X (Android ...
Dhananjay Suresh's user avatar

15 30 50 per page