This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

not able to upload a binary file to nRF connect for Mobile

Hi, 

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?

Thank you, 

Hideki

Parents Reply Children
  • Hi Hung, 

    Thank you for your help. 

    Yes, I would like to do FOTA, so tried to import a binary file into nRF connect app.

    Here are images below:

    I hit "Open Document Picker" to choose a binary file to import.

    I cannot choose the file I would like to import.

    Since then, I stacked and don't know what to do with it.

    Thanks, 

    Ethan

  • Hi Ethan, 
    Seems like some of the file was grayed out and one file is possible to select ? 
    I will check with the App team, but most of them are on vacation all ready. I will get back to you when I get an update from them. 
    Wish you a merry Xmas and a happy new year :)

  • Hi Hung, 

    A happy new year!

    It has been taking a couple of weeks. Could you please update the status of this ticket?

    Thanks, 

    Ethan

  • Hi Ethan

    Happy new year !

    I'm still waiting for the response from the team. The developer in charge of the DFU library is on parental leave until 15Jan :) 

  • 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.

Related