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

All Questions

3 votes
2 answers
7k views

How to read raw data from scanned BLE device?

I am using RxAndroidBle Library for my BLE application. Like nrfConnect application I want to read RAW data from BLE device. How to read RAW data from device?
Pallavi Tapkir's user avatar
1 vote
1 answer
545 views

RxAndroidBLE already connected and can't send data to IoT device

I have an IoT device with BLE on it and also I have a smartphone which support BLE protocol. I am using RxAndroidBle: com.polidea.rxandroidble2:rxandroidble:1.11.1 The problem is to communicate each ...
Arkadiusz's user avatar
0 votes
1 answer
130 views

restart reading data in onErrorResumeNext when BleAlreadyConnectedException is encountered

I am using RXAndroidBle library to connect and read data from the BLE device. I have set the establishConnection function to true i.e. auto-connect to true. when the BleAlreadyConnectedException is ...
Hunt's user avatar
  • 8,355
0 votes
0 answers
87 views

RxAndroidBle multiple characteristics notifications

I know that there are numerous questions about this problem already, but personally, as a newbie to RxBluetooth libraries, none of them gave me a straight answer. I need to connect to a Bluetooth unit ...
Jan H's user avatar
  • 3
-2 votes
1 answer
385 views

Subscribing to notification changes with RxBLe Android

I'm trying to subscribe to notification changes from a BLE device that I built, and print the value of the notification. I know the characteristic UUID that I want to read the notifications from: ...
Martin Erlic's user avatar
  • 5,635
0 votes
0 answers
179 views

Background Service Android Using RxAndroidBle

When I connect, write, and notify using backgorund service, connection running well but when I closed the application connection between service and BLE device lost. Can I still connect to device ...
Chandra Abdul Fattah's user avatar
1 vote
0 answers
615 views

RXBle Start scan does not work on Android 10 (Huawei P30)

I have problem to start BLE scan on Huawei P30 running on Android 10. It works on Huawei P20 running Android 9 and many other devices, but Android 10 is weird. In application I have Start Scan button, ...
Martin K's user avatar
3 votes
1 answer
2k views

com.polidea.rxandroidble2.exceptions.BleScanException: Scan failed because application registration failed (code 6) Samsung Galaxy 8

Currently i am working in a application where it involves ble device. I created a service and grnated all permission that a bluetooth application requires and bluetooth is enabled. When the service is ...
Anik Dey's user avatar
  • 616
0 votes
1 answer
226 views

Why setMaxBatchSize() is not useful for larger MTU in RxAndroidBle?

I want to transmit data to device through BLE. The num of bytes is 64 per transmission. Now the problem is that, When I modify the MTU through setMaxBatchSize(ex 64), mRxBleConnection.getMtu() ...
zhen She's user avatar
  • 139
0 votes
1 answer
1k views

RxAndroidBle - Write characteristic and receive notifications - No notifications received

I'm using RxAndroidBle library in my app to do some write/read characteristics. Everything works fine, except one use-case I can't get around. The problem: I need to write a timestamp to a specific ...
Stijn's user avatar
  • 113
1 vote
1 answer
350 views

RXAndroid better way to write nested subscriptions

I'm working with an RXBle library for Android. In order to read from a BLE peripheral (BLE device) I end up setting up a number of subscribes, all within one another, like this: Disposable ...
wheresmycookie's user avatar
1 vote
0 answers
483 views

Android BLE Notification Device WakeUp

I'm using rxAndroidBLE to develop a companion app for a BLE peripheral that triggers alarms on the device. The problem I'm having is that the notifications for the alarm are not properly triggering ...
LukeWaggoner's user avatar
  • 8,889
1 vote
1 answer
2k views

Finishing Bluetooth communication from Android with BLE device

What is the proper way to finish BLE communication from an Android device with peripheral measuring device? Current state: if I'm satisfied with received; write stop measuring on ...
Tomáš Havlíček's user avatar
0 votes
1 answer
394 views

Need to write multiple commands on device 1 by 1

Its taking too long to write a single command on characteristics. I am using below code for a single command and a loop on it. getConnObservable() .first() .flatMap(rxBleConnection -> ...
Usman Afzal's user avatar
2 votes
1 answer
2k views

RxAndroidBle : Periodic advertising scan

I need to scan ble advertising permanently while i am not connected to my device to find it and know when connect to it (specific product). This scan is realized in foreground service to match 8.0 ...
Guillaume's user avatar

15 30 50 per page