dingari / ota-dfu-python Goto Github PK
View Code? Open in Web Editor NEWThis project forked from astronomer80/ota-dfu-python
OTA-DFU server for Linux and NRF51
License: Apache License 2.0
This project forked from astronomer80/ota-dfu-python
OTA-DFU server for Linux and NRF51
License: Apache License 2.0
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).
@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?
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
exception at line 154 uuid not found 8ce90001-f315-4f60-9fb8-838830daea50
is the error i get when trying to ota-update my pinetime
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.