Git Product home page Git Product logo

Comments (3)

matthewchung74 avatar matthewchung74 commented on August 16, 2024

Hello, I went through the diffs but wanted to know if you could confirm some things for me, and if / how they might affect bootloader/softdevice/app fw updates.

1 in the 2 links below, I see the new version is not getting the dfuVersion, but I don't think this should make a difference. Is there a reason it was removed?

6677cab#diff-884de5849b9ff76641ef73a97554afd4L124

6677cab#diff-884de5849b9ff76641ef73a97554afd4L143

2 this looks like a change I should make? has there been a change to the version number schemes?

6677cab#diff-884de5849b9ff76641ef73a97554afd4L466

3 this looks like a change i should make?

6677cab#diff-6cf52c8d210cb7cad58b37cd8537e15bL95

4 in DFUController, the changes I see are all related to upacking the manifest and logging. is that correct?

6677cab#diff-0cbf51245064301a1a32deeb9bf76f6eL1

from ios-nrf-toolbox.

philips77 avatar philips77 commented on August 16, 2024

Hi,
There were no changes in DFU. Only some polishing (better file selection) and adding better status reporting.

  1. By the time if was reading the version there the version was already known. It reads it when it connects to the target, doesn't have to read again after pressing Upload button. I removed it from there mainly to get better 'status' messages for the user.
  2. No, the DFU versions didn't changed. Now, when the DFU version char is not found, I returned -1 instead of 0, but it shouldn't matter. Neither of this versions should be ever returned from the DFU targ.
  3. I guess yes. All for URLs should be nullify here.
  4. Yes.

We are working now on a new DFULibrary, written in Swift, which will be available as a framework in a separate GitHub project. Planned features:

  • API similar to Android's one: DFUServiceInitiator
  • Sends all content of ZIP (SD+BL+APP) automatically (in 2 connections)
  • Swift 2.1 or so
  • Much more documentation and I think easier to understand.

ETA: ~2-3 weeks.

from ios-nrf-toolbox.

matthewchung74 avatar matthewchung74 commented on August 16, 2024

Thank you @philips77 . Also, I'm very much looking forward to the swift DFULibrary!

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.