Comments (28)
What device are you using? Have you tried on different devices?
from efrconnect-android.
On MCU side I've tried BRD4182A with the Thermometer example and EFR32BG22C112F352GM32 with custom firmware.
On the other side I've only tried Xiaomi Redmi Note 5 Pro and don't have any other Android device available for testing.
from efrconnect-android.
I will create an internal request to get this look at. In the meantime if you could test with other android phones that would help isolating this issue to the specific model you have.
At what point exactly does the app crash, can you be more specific on the sequence of events that leads to this? A video capture of the screen would help.
from efrconnect-android.
At what point exactly does the app crash, can you be more specific on the sequence of events that leads to this?
-> Open app
-> click "Browser"
-> click "Connect" on "Thermometer Example"
-> from top-right submenu click on "OTA DFU"
-> click on "Select Application .gbl file"
-> click on a .GBL file in file chooser. The app crashes immediately after issuing the click.
from efrconnect-android.
Can you share that gbl file? How are you generating it?
from efrconnect-android.
I tried installing older versions available in the "build" folder of this repo. v2.0.2 has the same issue but v2.0.1 doesn't. After selecting the .GBL file the app doesn't crash - instead the "OTA Setup" popup is automatically closed and no other information is presented. There's also no additional entries in the app log menu.
Here's the relevant logcat output on v2.0.1: https://gist.github.com/rhssk/d4e1994aea469a3c957a7a08b5878a18
Can you share that gbl file? How are you generating it?
I'm building the "soc-thermometer" sample project in Simplicity Studio and then generating .gbl files with the provided "create_bl_files.sh" script. Here's the generated files: https://github.com/rhssk/EFRConnect-android/tree/issues-12/issues-12/soc-thermometer/output_gbl. Have tried both "application-crc.gbl" and "application.gbl".
from efrconnect-android.
I have tried that on Pixel2 (Android 10) and Samsung S8 (Android 9) and no issues. It's likely something specific to your device of the Android version which you are using.
The internal bug report has been created but I can't provide yet a timeline on when this could be fixed.
from efrconnect-android.
The internal bug report has been created but I can't provide yet a timeline on when this could be fixed.
Okay, thanks.
Since my primary goal was to to test the speed of upgrade, could you please be so kind and share the the approximate time it took to complete OTA DFU with those 2 phones and the size of upgrade image?
from efrconnect-android.
On these phones that I have it's extremely quick, something like 2-3 seconds. They both support 2M PHY and use a short connection interval which allows fast data throughput.
from efrconnect-android.
2-3 seconds
That's with using same "application.gbl" I provided (Thermometer sample project)?
from efrconnect-android.
Yes
from efrconnect-android.
Okay, then that's quite fast indeed.
Thanks for the help, much appreciated!
from efrconnect-android.
Hello, I will try to resolve your problem. Unfortunately we don't have Xiaomi Redmi Note 5 Pro phone so we are unable to reproduce this bug. Could you provide some more details?
- More detailed crashlog from v2.0.3 application (I mean show the logs since the moment when you click "Connect" button in the Browser),
- Did you try to read/write some characteristic after connection to device? Did it work fine?
from efrconnect-android.
Hello,
I've upgraded the firmware on this phone as well as the OS (from Android 8 to Android 10). The issue still persists, although now the app (v2.0.3) doesn't crash. Update simply fails (exact same behavior as I described previously for v2.0.1).
-
Output from
pidcat --current --clear
. Here I press 'Connect', read a few characteristics and then attempt OTA update the same way as described in my previous comments. -
Reading/writing doesn't throw any errors but the values are not visible. This appears to be a whole different issue of the app though since the values are invisible on any device I connect to, not just the development kit.
from efrconnect-android.
I would like to ensure if you read characteristic's data in the proper way. If you want to read given characteristic you should click this "eye" image and "Read" label. It should animate after click. Did you do that and there was no result?
from efrconnect-android.
After pressing 'Read', a small submenu appears with the characteristic's name but no data. In my screenshot you can see that under "Manufacturer Name String" is a "Manufacturer Name" submenu that's empty (besides the name). In my log three different 'Read' presses are indicated by
Charac D 00002a29-0000-1000-8000-00805f9b34fb 16
D 00002a00-0000-1000-8000-00805f9b34fb 11
D 00002a01-0000-1000-8000-00805f9b34fb 13
from efrconnect-android.
I applied some changes in the code. Could you download attached file, unzip it and install .apk to verify if it helped?
from efrconnect-android.
Do you mind sharing the changes in your fork? Since's this is my private phone I'm reluctant to install custom APKs. I'd much rather compile my own APK from your changes.
from efrconnect-android.
Below are applied changes:
https://github.com/razemla/EFRConnect-android/tree/fix/redmi_note_5_pro
from efrconnect-android.
from efrconnect-android.
Could you verify one more time if my new changes helped?
https://github.com/razemla/EFRConnect-android/tree/fix/redmi_note_5_pro
from efrconnect-android.
Still getting an exception on .getUuid()
from efrconnect-android.
Did you try to install some other Bluetooth based applications? For example nRF Connect? If not please install it and let me know if reading/writing Bluetooth characteristics works fine in this application.
from efrconnect-android.
Yes, with nRF Connect the characteristics can be read and displayed without any issues.
from efrconnect-android.
Hello again,
New version of EFR Connect has been released. Please download it from Google Play store and let me know if you see any improvement.
from efrconnect-android.
First trace is after opening file picker, second is after selecting firmware image in the picker. After selecting it, an error message "CONNECTION FAILED" is shown.
from efrconnect-android.
For what it's worth, I've also tried the upgrade with Nexus 5 and some cheapo Prestigio model - both of them work just fine.
from efrconnect-android.
Starting from upcoming EFR Connect 2.3.0 we will set minimum Android version as Android 9. Let us know if you still observe this issue with Android 9 or above and open a new issue.
from efrconnect-android.
Related Issues (20)
- Tablet specific connection issues HOT 2
- ERF Connect OTA problem HOT 2
- Feature request: single connection advertiser.
- Getting Error:0x85 while trying to OTA DFU HOT 1
- Bug report - v2.6.0, Configure Fragment Page, cannot slide to GATT CONFIGURATOR page, the App crashed. HOT 3
- Bug report - v2.6.0 - OTA Firmware not Working with Application OTA DFU HOT 2
- Missing Resources HOT 1
- Can't build project. HOT 2
- I have a big problem. Like 15 hakers are using my Internet and I don't even know we're to find them. The police don't care. Take a look at this reading. HOT 2
- Issue with Characteristic string not updating on change
- New patch
- [email protected] HOT 1
- Display Manufacturer/Company Name HOT 1
- application OTA with the latest EFR connect android APP HOT 2
- Build the new V2.8.0 source code - 2 issues HOT 1
- Cant connect to HobbyKing ota HOT 2
- NECTrial.ADD.dll.js.FI.dscintern.precare
- Setup Issue HOT 1
- WTN.Servos.Bluetray.Speedstore.Client.ACMB.server.dbx.bd.Bluetooth.A.an
- Can you continue to release the APK file to the build directory?
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 efrconnect-android.