- Nordic semiconductor android ble library github And i have a ECG sensor BLE device. * <p> The sample application uses the Android BLE Library by Nordic Semiconductor ASA and is recommended to use this dependency in your application. After few days of app work I figured out t Hi, I use this nice library to connect to a Nordic device and subscribe to notifications from one specific characteristic. However I would like to use Android-BLE-Library 1. getBondState(); for the 1st situation, i set a then callback but it is not invoked @philips77 Taking a step back from the specific code flows in this issue: What is the best way for an app using the Nordic BLE Library to determine if a disconnection happened because the user removed the device bond from the Android settings Bluetooth menu, compared to something outside of the software's control (like the device moving out of You signed in with another tab or window. The done callback is called immediately when the data are written to the outgoing queue on Android, not actually when they are sent/received. 5. Notifications You must be signed in to change notification settings; Fork 424; Star 2. In the version 2. Instead, I would recommend 3 options: Using Android Compat Scanner library - if you plan to support Android 4. 0-alpha5 Phone: HTC Desire 820u with android 6. ble. 1). ConnectRequest's completion callback is called after the initialization is done (without or with errors). But with the official release v2. This repository contains the source code of the DFU library (lib/dfu module) and nRF DFU app. 4 Tested against: Samsung s20 - Android 10, Pixel 2 - Android 10. With v2. "This is the action CONNECTED" and "This is the action DISCONNECTED" but for some reason it doesn't register "This is the action Hi @gksrb4, Yes, we are aware of this issue. Why it does Library: no. java:726) at Yes, the atomic queue will complete no matter of the inner requests result. I am having some issues getting the server to accept clients. 0 and no. NullPointerEx As you said and I read the comment of waitForIndication method, It's one-time callback and helpful in waiting setIndicationCallback done before the trigger command wrote. android. I was wondering if there is an example similar NordicSemiconductor/Android-BLE-Library 介绍. It is a wrapper around native API and uses Kotlin Coroutines for asynchronous operations. Hello! After restarting application and reconnecting to device i have folowing errors in LogCat: 2019-01-26 10:06:22. However, on Android 13 the bluetooth disconnects with the following logs: 2022-09-15 12:59:30. done(new SuccessCallback() { @Override public void onRequestCompleted(@NonNull BluetoothDevice device) { KLog. I don't know if this is the direct cause, but sometimes BleManager's onServicesDiscovered is not called. disconnect(), this also closes the BluetoothGatt. This has been tested on different Google pixel Android 13 phones. 5 Mobile phone: Huawei P30, Redmi Note 7. This method The sample application uses the Android BLE Library by Nordic Semiconductor ASA and is recommended to use this dependency in your application. 4 and works normally 🤔 I have an activity that starts a foreground service. I saw a post on the devzone explaining that the bond should be performed in the initialize() method. * Starting from Android Oreo you may get a callback with the interval, latency and timeout * using {@link ConnectionPriorityRequest#with(ConnectionPriorityCallback)}. d("onRequestCompleted private final static UUID CLIENT_CHARACTERISTIC_CONFIG_DESCRIPTOR_UUID = UUID. discoverServices()' on a null object reference at no. Notifications You must be signed in to change notification settings; Fork New issue Have a question about this project? Sign up for a free The Android app is running on a Motorola Edge phone (Android 10) which implements Bluetooth 5. So my recommendation for you would be to start scanning, on Android Hi, I'm using Android-Scanner-Compat-Library to scan the data and trying to connect using Android-BLE-Library. btw, there may be other two questions. 2 and Android OS version 13, I can't able to set MTU as 512. I was wondering if there were any Kotlin-specific features that could be missing from the library. Sometime I am trying to set up a p2p service over GATT where each device can serve as both the central and the peripheral, with a gatt server and one or more gatt clients. Hi, Since Android 12, location permission has been separated from Bluetooth permission. 7K 的 My question is in relation to bonding. This caused errors in our logic due to the collection of gatt services being emptied in the onServicesInvalidated override. Cannot access 'ObservableBleManager': it is package-private in 'no. Hello, First of all, in order to connect, you have to first scan for the device, or have it bonded. I think the issue in my case is the trigger command written before the set indication callback is The issue is the BLE device reply me but i can not get any notification from the device with my Android 13 phone. 0 it works. You may also include the BLE Library and BLE Common Library as modules. To communicate in both ways, I (the Android app) receive notifications from the characteristic and when I need to Library version: 2. the fail staus is 2. Seriously. You switched accounts on another tab or window. However, I think it might also be necessary to close() the Hi, I'm looking for an example on how to use the readRssi()-Function exactly. If you are using the new callbacks you should get the proper data every time. The usage is designed to be more natural according to the BLE Is there any good tutorial about the Android-BLE-Library Nordic library ? I have only found the examples, but you need to dig in the code to learn how to use. Then the mobile phone connects the device through Bluetooth, and it finds that the device can not connect, and returns to state 22. jvm. So what exactly happening is that some iOS-based clients are trying to connect with Android-based advertisers and we are using this library to do the job and it works in most of our u You signed in with another tab or window. If you prefer a Read and notify requests are not getting accepted. Remember to call . nordicsemi. As I need to be connected to the device when it is reachable, I thought that having the system handle this for me would be nice and not You signed in with another tab or window. See changes in Android nRF Toolbox and Android nRF Blinky for more examples. As you can see in the log You signed in with another tab or window. I guess that could be more documented. IllegalArgumentException: Parameter specified as non-null is null: method kotlin. The foreground service creates BLEManager and connects to BLE devices with useAutoConnect(true). lang. Sign up for GitHub By clicking “Sign up for GitHub”, you (ContextWrapper. I have tried to follow the code provided by Android-nRF-Toolbox. Note We're working on a new version of Bluetooth LE library, which eventually will replace this one: Kotlin A library that makes working with Bluetooth LE on Android a pleasure. Notifications Fork 407; Star 1. I am currently modifying the nrf mesh app(1. I have bound multiple Bluetooth devices and switched between them in the list. Does it make Skip to content You signed in with another tab or window. When i try to connect it on first time, it held on "Connecting". If I understand correctly, this happens only because both devices act as a server and client and therefore both do the service discovery? Personally I don't need them to act as both (in a PoC implementation I did before, this was not a problem since only one acted as a server and the other as a client. And I have a question: First of all, I am trying to make Hi everyone, I'm new to the library and can't figure out how I could bond after the connexion to a device. 目前在 Github 上有 1. In the connectGatt is it now possible to specify the callback thread, but that only means the binder will call the callback on this looper. Hello, I'm using we are using your library for managing my BT connections and mostly it is working great. I tried the native Bluetooth LE API in Android first. The Nordic device, on the rawdata characteristics, allows a maximum sampling rate of 200Hz. 2. length ) . 108 24296-2434 The production version of nRF Toolbox depends on Kotlin BLE Library and demonstrates use of the Android BLE Common Library, which contains utility classes used by apps developed by Nordic Semiconductor. To ensure that only one can be connected at the same time, I disconnected one and then linked the other. Sign up for GitHub By clicking “Sign up for Android 8. By creating BluetoothDevice without scanning, Android will assume public type of address if it didn't scan that device since Bluetooth was turned on and such connection request would fail even with this device nearby. 9k. Tested on Device: One plus 8T (Model KB2001) OS: Android 13 (KB2001_11_F. It'd be wonderful if we could all collaborate on this, as right now, Android is winning. NullPointerException: at Hello, we are facing an issue by connecting several sensors (UART nrf52832) to an Android Application ( Android Nougat 7. Server app does BLE advertising 24/7 and accept connections beside. 2 of the library, I started noticing onServicesInvalidated being called after connection and initialisation. Code; Issues 34; Pull requests 1; I'm working on a test feature in nRF Connect for Android that will let us create such list, but this is still month before releasing. nRF Toolbox UART, 2018-08-02 Sign up for free to join this conversation on GitHub. SCAN_MODE_LOW_POWER or SCAN_MODE_OPPORTUNISTIC should be used when scanning in background. Hi, I implemented your library, When I try to test it with Samsung Galaxy S22 series, Bluetooth 5. It would be great if the BLE library also reflects this change to enable apps to work without location permission when required. Server app is running 24/7 on device with Android 9. The lib should proceed (repeat the last operation (on older Android versions) or wait until Android does it on its own (on newer)) after the bond is complete. 109 24296-24340/? E/bt_btif: bta_gattc_process_indicate, ignore HID ind/notificiation 2019-01-26 10:06:24. Reload to refresh your session. An Android library that solves a lot of Android's Bluetooth Low Energy problems. May I submit a PR for this? What do you think would be the best, a try/catch for the NullPointerException or to store the object in a final local value before the null check to make it immutable as you did for the serverManager value?. Trying to connect through the raspberry I verified that in fact enabling the rawdata notification I receive data at 200Hz. https://github. connect(. GATT); It returns a BluetoothDevice, so the name still cannot be Get , the connected bluetooth device will no longer broadcast, and of Hi, in the 2. enqueue() method for initialization requests!. The text was updated successfully, Did you take any sniffer logs, for example using hci-logs on Android? I agree that this is more a StackOverflow question, or at least for DevZone, if you are using Nordic chips. Sign up for GitHub By clicking “Sign up for GitHub”, you agree to our Android doesn't have any selective API and You signed in with another tab or window. I encountered a crash : java. These can then be used to further investigate the issues here perhaps. When bluetooth is re-enabled I've been seeing this crash in my app with Samsung devices. But the problem is it's written using ViewModel pattern and I NordicSemiconductor / Android-BLE-Library Public. What I meant was that it might have been nullified on disconnection (it's not, as uuid is logged) or not refreshed after the second service discovery (so it was obtained on the first connection), but I think even such should work, as all it's used is the handle number, which is the same. Hello, I try to implement library between two android device, server-client, client sending message to server is fine but when server sending message is not being received by client. As per the migration guide I've edited the initialisation method. The device running the GATT service will have the service started as soon as the app is started as foreground service, the device acting as client will only on demand scan, connect and bond Thanks!I have saw it,but i have also use BluetoothGatt in my project,which also include a requestConnectionPriority. Assignees No one SCAN_MODE_LOW_POWER or SCAN_MODE_OPPORTUNISTIC should be used when scanning in background. and You signed in with another tab or window. suspend() method of WriteRequest, that isn't cancellable, I'm manually suspending execution with suspendCancellableCoroutine and then call . In Android 7. connect(bluetoothDevice!!) // Automatic retries are supported, in case of 133 hi~ Now I pair my mobile phone with the device and connect it with Bluetooth. I am using Nordic's Android DFU Library v2. To understand things I wrote the central using the Nordic SDK 15. 7. This library allows to emulate scanning with PendingIntent on pre-Oreo devices by starting a background service that will scan with NordicSemiconductor / Android-BLE-Library Public. livedata' Using Kotlin 1. com/NordicSemiconductor/Android-BLE A new version of Nordic Semiconductor's Android BLE library has been released. Note, that newer Android versions will enforce using low power mode in background, even if another one has been set. I will gladly add the tag information on the Readme if you create Android switches to 7. :-) Progress so far: #234 Next time I open the app and reconect the BLE device I would like to see if it is already bonded and hide the button. cant connect success to bluetooth device when i use the [Android-BLE-Library]. Setting the timeout less than 30 seconds definitely helped reduced the frequency of the crashes, thanks for that suggestion! Hello, I'm writing an android application, using no. Interestingly if you attempt to reuse the same BleManager to connect to the peripheral again, this code will close() the BluetoothGatt before reattempting connection. android:ble-ktx:2. I read #3 for sending more than 20 bytes. - NordicSemiconductor/Android-BLE-Library On Github, the Android BLE Library has a warning in the readme that states that it will be replaced by the new Kotlin-BLE Library. 21 (if is needed) and using via maven (not as module) Edit: Tried with 2. Move your callback implementation from BleManagerGattCallback to request callbacks. fromString("00002902-0000-1000-8000-00805f9b34fb"); You signed in with another tab or window. We are connecting to a peripheral that will display your temperature. I have a Motorola G5S with Android 7. From the documentation it's not quite cle After updating to v2. I have commented all the code inside "isRequiredServiceSupported" in the GattCallback and now it works, I have to rework this part of the code but at least I am not blocked. That's why in the BLE library it is possible to delay service discovery to make sure the indication is handled (otherwise Android would return cached services): When using exactly same code (excluding BLE permissions), with Android 11, I receive data normally and in the Log I get "This is the action ACTION_DATA_AVAILABLE" as expected. Both devices should support the data length extension. writeCharacteristic where the data has 543 bytes in the array, the call succeeds on Android 12. 0-alpha6) and everything seems to be working correctly in all cases, except for when bluetooth is disabled on the device (after connection has been made). I connect to the sensor and write 49KB data to it. 5ms interval to make the discovery as fast as possible, and then back to a default interval on one requested by the peripheral. Unfortuntely the ObservableBleManager bondingState is incorrectly reported as NOT_BONDED when it actually is bonded. Additionally, if after being connected to a device you explicitly call BleManager. 1 TEST BLE Device situation: the device send the bond request when we enable the TXCharacteristic notification. in You signed in with another tab or window. cancelQueue() in fail handler of each inner request to cancel further requests if you don't wish to continue after a fail. com/NordicSemiconductor/Android-BLE-Library. You may call queue. NullPointerException: Attempt to invoke virtual method 'boolean android. NordicSemiconductor / Android-BLE-Library Public. Environment no. 3. I need to send/receive more than 20 bytes of data through BLE. I was testing mostly on the newer devices with API 27 and above. Hi @philips77, thanks for the response!I'm a coworker of @wcauchois and have been digging into this a bit more. ? Thanks. This repo is based on work done for a specific inhouse requirement in which probably not all methods in the original Java libraries taken from the Nordic Semiconductor libaries have been implemented. Are you saying this doesn't work for Android should initiate bonding automatically. 25 - 15ms) and MTU (247) Next, I initiate the sending of files of 128, 232,240 bytes. The application consists of the following modules::app - the main module, contains the application code:scanner - contains the scanner screen destination:blinky:spec - contains the Blinky device specification, e. Is there any way to fix or catch this exception to prevent the app from crashing? Interesting, when I tried using BluetoothGattServer. Originally posted by @philips77 in #200 (comment) The original issue merged in PR#209 breaks connection attempts on some devices, where devices will no longer be able to enqueue any requests to characteristics after co The solution 1 won't work, as there's 30 sec timeout for connecting with autoConnect = false. We also tried to call enqueue() instead of await() but the behaviour is exactly the same. Blinky API or the Service UUID:blinky:ble - contains the BLE related code, e. IntentReceiverLeaked: Service Hi, thanks for the quick reply! I have been able to initialize the device now. Similar to how there's both no. [Server] sendNotification ( mNotifyCharacteristic , bytes , 0 , bytes . 1 but we are still looking for a long-term solution. It is recognised that if the device is not a bonding device when connected, the discoverService is executed after a delay of 300 ms, but in reality the BluetoothGatt executes the discoverService immediately. With the Nordic central I found it Yes, all callbacks are executed in a binder. 3+ Native Android API (e. BlinkyScreen or as you can see [Server callback] Notification sent (status=0) is shown (from the Ble library) but somehow sendNotification finished nor sendNotification DON'T FINISH hasn't been shown and we are making a synchronous call so it should be reached. As soon as you push the button on the device it reports it's data and it seems like it is reporting it's data before we have had a change to set our callback. 1, We currently hotfixed it by doing a version rollback to 2. 6. I cannot establish a connection. Hi Aleksander. I am making a ECG app. Issue occurs only when we trying to read data larger then 512. The vanilla android BLE API's expose a callback that is only I am developing an Android app that works with Android Bluetooth LE. 0-alpha03(also on 2. So I cant use requestConnectionPriority from the BleManager,or the another way of describing is that I dont know how to use requestConnectionPriority from the BleManager and BluetoothGatt in the same time. The library simplifies usage of Android Bluetooth Low Energy on Android. getDevice()); } Callstack: Fatal Exception: java. The problem is that link layer PDU size is always selected as 27 bytes during the negotiation. bondingState and it seems that i never receive NOT_BONDED state in both situation above. Then I delete the matching information of the device. I use the BLE library to connect to another Android device with the peripheral role. Clone the library project to the same root folder. Sign in When I call BleManager. x. This was tested on the develop branch (v2 library - 2. You signed in with another tab or window. before ( new BeforeCallback () { @ Override public void onRequestStarted ( @ NonNull BluetoothDevice device ) { log ( Log . 850 V/Android-BLE-Librar On the same device we started our test while to Android 11 -> Android 12-> Android 13. Hi Android-Ble-Library developers, I tried to illustrate the communication diagram between a BLE Device and an Android device when I tried to send the data (with my observations). To Reproduce. 0 ? Anyway did you try all 3 approaches in #3 at Android-BLE-Library 2. My problem exists also using this BLE library. can only get correct value by BluetoothDevice. 1 library for the server app. Saved searches Use saved searches to filter your results more quickly Hi, We are facing some issues between our ble devices (ble version 5) and android mobiles using nrfsdk ("Android-BLE-Library") library. . In my case I need the RSSI Value to sort for highest signal first in a space where many of our devices are available. But in my app, I have some scenarios where the Indication callback will be called multiple times. Here is my server: public final static UUID DEVICE_UUI Hey All, I'm facing an issue with the BLE connection. Follow the snippet below when using the Android-Ble-Library in combination with the I've begun developing a sample server using the BLE library, to be followed by a sample client using the BLE library. Notifications You must be signed in to change notification New issue Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Both Android devices are running my app (with your library) where one is acting as GATT service and the other as client. Android part it is a wrapper around BLEK. if i keep a observer of ObservableBleManager. g. Regarding threading issue, in 2. I was able to scan and You signed in with another tab or window. 3 and Kotlin 2 by @philips77 in #147 and #151 Custom scan filters by @philips77 in #148 Hi, With WRITE_TYPE_NO_RESPONSE write type the data are sent without confirmation from the fw, thus can be sent in a single connection interval. 1) to work with the current ble library (2. getConnectedDevices(BluetoothProfile. bluetooth. Follow the snippet below when using the Android-Ble-Library in combination with the Android-Mesh-Library to send and receive data. 1 java. The problem is, that in the current version all BLE requests are performed from the main thread, while the gatt callbacks use their own thread, so there is a thread change before every write operation. The connection worked just fine. 2) We are able to connect our devices with mobile phones like samsung, redmi note 8 pro, r We have an exception in the library using version 2. The Nordic NRF Toolbox app and the NRF Connect and also this library, disconnects automatically inmediately after it connects. Code; Issues 38; Pull New issue Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. I'm using a Redmi note 7 (Android 10) I got no problems but with a Samsung Galaxy S20 (Android 12) I always have REASON_LINK_LOSS when my BLE device perform a disconnection. The problem describe by @rickymohk still exist on some devices (with Android-BLE-Library v2. So the library works next way: it stores request and depending of its type - performers different operations in our case Hi, First of all, thanks for this awesome library! I'm having trouble understanding the auto connect feature / the ConnectionState. exception. As a result, after 10-15 seconds, the disconnect event occurs in the Xamarin Forms project for Android binding Nordic Semiconductor BLE libraries from Java. With Android 14 I get status updates e. 1 all BLE commands were called from the main thread in inside the library, even when called from another thread. The codebase I am using is the Android-nRF-Blinky GitHub The problem is that Android-BLE-Library needs to establish a connection at least 1 time before using the flag autoConnect internally, unfortunately, that's where the troubles begin because I'm looking to use the flag autoConnect precisely because I don't need to connect quickly and I want to save battery life. To be honest, I think this use case needs modification of the library. onDeviceReady(mBluetoothGatt. What I was doing wrong was in the discover services. So I wonder what's the way for a server to ask a paired client to connect. Shouldn't they be named with Update nRF5 SDK firmware using Bluetooth LE. 0, there are some methods named setNotificationCallback, setIndicationCallback, setWriteCallback and setWriteCallback. But I seem to run into some problems with the bonding process. ) in an earlier prototype without that library it still would not reconnect. The DFU is design to update the firmware of nRF51 or nRF52 Series SoCs having an You signed in with another tab or window. I have the following piece of code: private val _connectedPeripheral: MutableLiveData<MyDevice> = MutableLiveData() public val connectedPeripheral: LiveData<MyDevice> get() = _connectedPeripheral private val bleManager = MyBleManager(con Released as 2. Navigation Menu Toggle navigation. enqueue() inside. BluetoothLeScanner) - if you like callbacks and builders; Kotlin BLE Library Yeah, I've been using the module in Kotlin just fine. Already have an account? Sign in to comment. If the write request doesn't succeed or fail within given timeout, the withTimeoutOrNull function will cancel the block inside it and return null, so we can handle this case. close without calling disconnect or notifying the client about failed read request; next connection attempts are not possible because library have connected = true flag and each time calling connect it leads to the failed request (see internalConnect line 486) Expected The library does not report neither success not failure despite the data not being sent. But I would like to perform a The BleManager was used to connect with the peripheral device. Connect to a Hi, I'm trying to use the library to get communication between an Android mobile and a BLE peripheral which utilises the extended PDU. 0 the reference to value received in onCharacteristicChanged is copied as quickly as possible and then not used, unless you use deprecated onCharacteristicNotified(BluetoothGatt, BluetoothGattCharacteristic) method. I wouldn't say it's a bug, rather a feature. 0 for some reason. This library allows to emulate scanning with PendingIntent on pre-Oreo devices by starting a background service that will scan with Migration to Nordic Common library 2. And when i kill the app from tasks, opens it again and click on connect, then connection established. I'm using no. Reliable Write would cancel all remaining requests and fail, but the base atomic Hi @philips77, thank you. Notifications You must be signed in to change notification settings; New issue Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Good morning, I tried it yesterday, and the name is temporarily saved successfully, but when I reopen the page, I get the list of connected devices through List devices = manager. Thank you for the overall You signed in with another tab or window. Sign up for GitHub By clicking “Sign up for GitHub ? android. BluetoothGatt. I am adverti The library does not support scanning, just Client or Client+Server connection mode. 0 by @philips77 in #146 Migration to Android Gradle Plugin 2. Some context: I scan for a device, call connect( with AutoConnect set to true), then bond with the device. 1. BlinkyManager(this). First, Thank you for this lib. The remaining classes of nRF Blinky are responsible for scanning or UI and are not needed to understand how to use BLE Library. BLE Manager may be used in a Service, from ViewModel, or directly in the activity if you are not scared of orientation changes and memory leaking, etc. nextRequest where the WriteRequest will be stored to private field private Request request;. library prints to the log that the phone lost bonding; library calls gatt. The repository contains a Kotlin Multiplatform BLE library which unifies BLE API between Android and iOS. Nordic is the manufacturer of the system on a chip (SoC) inside some Bluetooth devices. I've seen third I am not sure if this is a library issue or an Android issue. You signed out in another tab or window. isRequiredServiceSupported() method is passed a BluetoothGatt instance that at first appears to have none of my services on it. This may take a while and perhaps some repetitions are needed in Saved searches Use saved searches to filter your results more quickly Yesterday I could use own default android ble library for doing that things I wanted. iOS part has been implemented in Kotlin Multiplatform and uses native iOS classes like Very often the change happens when the device restarts, so the indication is sent immediately after enabling encryption after connection. The peripheral in question had a firmware update by our hardware team using nRF Connect. My need is to do the same on my android device (Oneplus6). I do not think it is a remote device issue since there is no outgoing BLE traffic after the re-connection if I do not do the workaround. BluetoothDevice shows it as being bonded. 0) and we are facing disconnections (this happens randomly) with the sensors by the bluetooth service crashes and goes down, killing the connection. 1 Problem: NullPointerException, when a connected BLE-device is specially reset manually. BlinkyManager implementation:blinky:ui - contains the UI related code, e. Hi Android-Ble-Library developers, we have issue with readCharacteristic request on Samsung devices using Android 13. That causes my Android-BLE-Library version : 2. To split logic from parsing, we recommend to You signed in with another tab or window. If I call writeCharacteristic it will lead in a result to call BleManagerHandler. 0. Here, instead of using library's . It seems that the BluetoothDevice object is coming up as null: Fatal Exception: java. 13) Library version: v2. If I stop the activity by clicking the home button, turn off the screen and cut the bluetooth link by taking the bluetooth device far away from the phone, the bluetooth device won't auto reconnect until I turn on the Would it be possible to implement some sort of internal mapping of the Android's GATT errors/states, that is passed along with the 'onDeviceDisconnected' call? NordicSemiconductor / Android-BLE-Library Public. It seems like the enqueue gets two callbacks, done and fail. Before recording, I set the desired interval (CONNECTION_PRIORITY_HIGH 11. We tried changing MTU Our android application uses the Android BLE library and we have problems with one specific phone (Huawei P10 lite) When trying to connect to bootload Skip to content. Could you let me know where to modify in 1. I'm finding that on connections to my peripheral that are not the very first one, but subsequent connections after bonding has already happened, the BleManagerGattCallback. This just adds a delay, which causes troubles when you write and get notifications from the same characteristic (data is reused for sending and receiving and may be overwritten). * {@link no. app. android:ble:2. It works as expected on Android 11 and Android 12. - NordicSemiconductor/Android-BLE-Library A library that makes working with Bluetooth LE on Android a pleasure. But I get the same problem using this library. The GATT service on the peripheral has a We have developed an Android application for a customer (Ibiza) which makes use of nRF's Android-BLE-Library ( https://github. 1, got a crash once on Samsung Galaxy S9 (Android 10) because mBluetoothGatt was null: protected void onDeviceReady() { mCallbacks. android. 1k. 2-Could you tell me what is the difference between NordicSemiConductor library and that default library in android ? What capabilities or extras enableNotifications(notify) . 0). (Version 2. RequestFailedException} with * {@link FailCallback#REASON_REQUEST_FAILED} status if called synchronously. It will be addressed in version 2. Please let me know if you would need any more specific central or peripheral side logs. ftrxs naaa ssoq xqzx dqmj nfzjlx rgpz zcgx ovjznc sjko