You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/04/03 21:04:14 UTC

[GitHub] [mynewt-mcumgr] ccollins476ad opened a new pull request #25: cmd/img_mgmt: Allow upgrade-only requests

ccollins476ad opened a new pull request #25: cmd/img_mgmt: Allow upgrade-only requests
URL: https://github.com/apache/mynewt-mcumgr/pull/25
 
 
   This PR adds an additional boolean field to the "image upload" request: `upgrade`.  If this field is true, the firmware will only accept an upload attempt if the new image's version number is greater
   than that of the currently running image (using a semver-compatible comparision).
   
   If the `upgrade` field is false or missing, no version check is performed.
   
   The firmware only processes the `upgrade` field on the first image chunk.  It is harmless, but pointless, for a client to specify `upgrade` in any subsequent chunks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services