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

    Thanks, 

    Ethan

Reply Children
Related