Coder Social home page Coder Social logo

Comments (19)

mostafaberg avatar mostafaberg commented on July 18, 2024

Hi @yongmaowang !, I'll be working on this issue with you, so far we couldn't reproduce it though.

Was it one of the files that are bundled in the build or did you add a file yourself? if so can you give us the file name that causes the issue and perhaps more info on what you were trying to accomplish and what devices/versiosns you used ?

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

Hi @mostafaberg !, Thank you for responding. All the files in the build and include myself added, I got the same error "Selected file is not surpported!". My device is nRF51822, and the demo code run in iphone 6s plus with os 9.3.

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

Something sounds wrong, this does not reproduce on the same version here!
When you build the project from source without any modifications, do you see a list of bundled firmwares or do you have to add them manually ?
the files bundled should work out of the box, if you pull the project and build from scratch, do you see the list of firmwares ?

If it's possible to get access to your project I can check and help you a bit faster, if it's not possible we will just debug it together step by step πŸ‘

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

Hi @yongmaowang!, Just checking in to see if you still have that problem or did you manage to resolve it ?

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

Hi @mostafaberg !, I will check in my project soon and give you the url.

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

Hi @mostafaberg !, My project is here: https://github.com/yongmaowang/IOS-nRF-Toolbox-master-wym

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

@yongmaowang awesome!, I'm looking into it now!

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

@yongmaowang I made a PR now, check it out and let me know if the problem is resolved!

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

@mostafaberg Thank you, If you have any progress, please let me know!

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

@yongmaowang No problems, will do that, ping back if the issue is resolved or not so I can close the issue if it's fixed:)

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

@mostafaberg I don't know if the problem is associated with the ios version. Now I still got that problem.

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

Strange, Cannot reproduce here, can you try another device with a different version ? what's the console output when this happens ? and do you have a screenshot of the UI state ?

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

I do not have another device now, mybe I will try later.

/_Console Output Start_************/
2016-04-18 17:03:33.103 nRF Toolbox[1395:849252] getFilesFromDirectory
2016-04-18 17:03:33.104 nRF Toolbox[1395:849252] app resource path: /var/containers/Bundle/Application/7DB7B12D-9253-4895-A02E-CC0ECA77E76F/nRF Toolbox.app
2016-04-18 17:03:33.105 nRF Toolbox[1395:849252] firmware folder path: /var/containers/Bundle/Application/7DB7B12D-9253-4895-A02E-CC0ECA77E76F/nRF Toolbox.app/firmwares
2016-04-18 17:03:33.105 nRF Toolbox[1395:849252] getFilesFromDirectory
2016-04-18 17:03:33.105 nRF Toolbox[1395:849252] app resource path: /var/containers/Bundle/Application/7DB7B12D-9253-4895-A02E-CC0ECA77E76F/nRF Toolbox.app
2016-04-18 17:03:33.105 nRF Toolbox[1395:849252] firmware folder path: /var/containers/Bundle/Application/7DB7B12D-9253-4895-A02E-CC0ECA77E76F/nRF Toolbox.app/firmwares
/**
Console Output End****************************/

img_0389

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

Interesting bug there, one last request, can I see a screenshot of what it looks like when you're selecting from the firmware list ? i'll try to look deeper into that but it seems like it's something with that device

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

img_0391
img_0392

from ios-nrf-toolbox.

philips77 avatar philips77 commented on July 18, 2024

Hi, are you using the nRF Toolbox available on App Store? Version 3.0? The previous one, 2.5, or you compiled the newest source from GitHub (3.0.1)? In the 3.0 I think there is a but and those files are not visible on the App Files tab at all. Are you able to debug and see why the DFUFirmware doesn't get created?

from ios-nrf-toolbox.

philips77 avatar philips77 commented on July 18, 2024

In the DFUFirmware class, in the DFU Library, there is a method init?(urlToBinOrHexFile:urlToDatFile:type). The message you get would be triggered it this method returns null, and this may happen only if the file name does not end with 'hex' or 'bin'. Could you place a breakpoint there and see when it returns?

from ios-nrf-toolbox.

yongmaowang avatar yongmaowang commented on July 18, 2024

I will try later, and thank you very much!

from ios-nrf-toolbox.

mostafaberg avatar mostafaberg commented on July 18, 2024

Hi @yongmaowang , any updates on this issue ?

from ios-nrf-toolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.