Coder Social home page Coder Social logo

ota-dfu-python's People

Contributors

astronomer80 avatar dingari avatar foldedtoad avatar mdxs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ota-dfu-python's Issues

Upload not always completed

It seems like upload procedure is somewhat dependent on the file size. In some cases it finishes without sending all the packets. Example output:

(60,3 kB file - FAIL)
Progress: |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| 99.8% Complete (60200 of 60300 bytes)

(60,796 kB - FAIL)
Progress: |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| 99.8% Complete (60700 of 60796 bytes)

(60,308 kB file - SUCCESS)
Progress: |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| 100.0% Complete (60300 of 60308 bytes)

(60,348 kB file - SUCCESS)
Progress: |xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| 99.9% Complete (60300 of 60348 bytes)

The former stays in DFU mode, the latter restarts into application.

Note: The progress update is relying on the packet notification receipt, so it does not update for the last 1-5 packets (thus 60300 of 60308 is normal).

Python 3 compatible?

@dingari I noticed that there is a compat.py which hints at some Python 3 compatibility efforts, but all the print statements seem to indicate the tools is for Python 2 only. Would you accept PRs to make the tool more Python 3 compatible?

Not working with Nrf SDK 16

Hi,
I have a nrf controller with SDK 16 firmware. This library is not working. The Buttonless UUID mentioned in Library is not same as found in the firmware. Please let me know how to modify the library to support the latest SDK

UUID not found

exception at line 154 uuid not found 8ce90001-f315-4f60-9fb8-838830daea50
is the error i get when trying to ota-update my pinetime

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.