Comments (7)
Hi, I think it may be related with PRNs. A bug in Android causing the outgoing buffer to overflow has been fixed in Android 6, so I disabled the PRNs by default on 6+, but it looks like Nexus 5X is not working properly. There is another issue regarding this here.
I'll debug it today and release a new version.
For now, as a workaround, you may set the SharedPreferences value related to it to "12" (String), and anther value to enable it. Check BaseCustomDfuImpl constructor for details.
from android-dfu-library.
OK.Thanks for your attention about this issue.
from android-dfu-library.
Hi, Ive just tested it on Nexus 5X with Android 7.0 (NRD90S), security patch from 6 Sep 2016, and it managed to send the fw correctly.
I was sending the HRM_DFU sample from SDK 8 using Legacy DFU (the ble_app_hrm_dfu_s110_v8_0_0_sdk_v9_0.zip file from sdcard/Nordic Semiconductor/Board/pca10028/..).
The application bin is 20.85 KB.
from android-dfu-library.
I've just release version 1.0.4. It shouldn't change the behaviour you experience (I couldn't replicate it on my Nexus 5X). However, it adds new methods to DfuServiceInitiator. Using setPacketReceiptNotificationsEnabled(boolean) method you force enabling PRN notifications. This should help, I suppose.
from android-dfu-library.
thanks,So what I need is add the method of setPacketReceiptNotificationsEnabled(boolean) to block the PRNs? I will test my application today to check the performance.
from android-dfu-library.
It's seems ok, It's not happened again.Thanks
from android-dfu-library.
Great, closing issue.
from android-dfu-library.
Related Issues (20)
- Android 12+ bug HOT 1
- Batch/Automatic DFU update mode?
- DFU upload stops at 29% on version 2.3.1 HOT 1
- Hello! HOT 1
- Unable to use version 2.3.1 with Unity due to Java 17 not being supported. HOT 2
- [Version Android - 14] - java.lang.SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts HOT 10
- Crash on Android 14 because of no type on startForeground HOT 5
- Android 14 requires starting FGS with service type specified HOT 2
- Android 14 - Permission FOREGROUND_SERVICE_CONNECTED_DEVICE requires video for play store HOT 1
- Problems with binding for xamarin/maui: string with multiple placeholders HOT 6
- Application stuck after Discovering services. HOT 2
- DFU Service Not Disconnecting and Restarting After Unplanned Disconnections
- `startForeground` doesn't specify a `foregroundServiceType` HOT 2
- nRF connect crashes when device reports 0 bytes for DFU partition HOT 2
- Causing MissingForegroundServiceTypeException on android 14 HOT 1
- Dfu Failing HOT 5
- Fatal Exception: android.app.ForegroundServiceStartNotAllowedException on Android 13 / 14 HOT 6
- What are the Vendor commands used by DFU? HOT 1
- Automatic Reconnection not available on Android 14 HOT 2
- Android 14 GATT 133 1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-dfu-library.