I was able to upload a binary file before, but not able to upload a binary file to nRF connect app in order to FOTA.
Could you please help me to upload a binary file to nRF connect app?
Hi Ethan, Could you give more information on how you uploaded binary file before and what's changed now ? Which error do you have ? I assume you are working with the FOTA in NCS ?
Hi Ethan, nRF Connect for iOS Developer here,
Thank you very much for sending us over your files. I think we've found out where the issue is, and we have a couple of options available to solve it.
The issue stems from the "Document Picker" you're calling to select the file externally from nRF Connect. If you import the file (open Files app, select the file, tap the Share Icon and then select nRF Connect) you'll be able to use all your .bin files without them being greyed-out. This Document Picker is an Apple-provided utility for apps, so we have little control over it, and it's this component which is greying-out the files.Why are these files being greyed out? iOS, regarding files, operates following an "Ownership" of UTIs, or Universal Type Identifiers, for files. Now, nRF Connect claims ownership of .bin, .zip and .xml files, and depending on which type of device you're trying to perform a DFU on, we allow selection of the appropriate type. If you've installed other app that claims ownership of the .bin file for example, this Apple component for file selection might get confused regarding who owns the files, and this is why they're greyed out, because it believes nRF Connect should not have access to them.We have a fix for this, which is a change in our API calls. We cannot verify this on our end (if you know which app you've installed that has changed this behaviour, that'd be great if you could tell us), so what we can do is release an update of nRF Connect in our beta TestFlight program, which you can join (just tell us to which email address to send the invitation), and we think that by the end of this week we'll have a beta update to version 2.4.7 which you'll be able to try and tell us whether our changes work.
Let us know, and thanks for submitting this bug report. It was very helpful.
Hi Dinesh and Hung,
Thank you for your response.
Actually we tried to import the bin file from File app Apple provided, but we could not import the file to nRF connect app.
My app (nRF connect for mobile) version is 2.4.6.
I don't want to expose my email address in public, so could you please let me know how to share my email address with you?
Hi Ethan, You can send your email via private message either to me or to Dinesh. You just need to hover the mouse above our name and click on "Send private message"
Thank you for letting me join the Testflight.
I tested importing a binary file to the beta TestFlight program (v2.34.7) from the Files app Apple provided.
However I couldn't import the binary file and got an error message below:
Please let us know what to do with it.
Hi Ethan,We've posted a couple of updates (new builds of 2.4.7) to TestFlight today. Here's what we're going to do:1) We updated the code for importing files just as you've shown us. Please try once again to import the files.2) If it fails, we've built-in a new feature for you to share us the App's Logs. So after you get an error, please go to Settings - > scroll to the bottom -> Send Logs. This will prompt the Mail app to show with us as recipients and the app's logs written into the body of the email. If you send us this information, we can hopefully debug the issue.Thank you for your help in debugging this.
Thank you for your update.
I tried importing a bin file again several times, but still couldn't import the file.
As you mentioned, I went to Settings and scrolled to the bottom, but couldn't find "Send Logs."
I can see "Send Feedback" instead like below:
"Send Feedback" prompted the mail app, but didn't show the app's logs in the body.
Please advice me what to do with it.
Thank you for your help.
Sorry about the confusion. I was mistaken into thinking TestFlight would automagically release the new build of version 2.4.7 (#59). I've just enabled the update as I'm writing this comment, so please try again when you can. If the build number is correct, 59, you'll find the new 'Send Logs' feature at the bottom of the Settings screen.
I tried importing a bin file again into nRF connect app, but still couldn't make it.
I already sent you "Send logs," please check it out.
Please let me know if I can do something.