commit | d9f755897e88cfb13379beb7d1abcdd882780888 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Fri Oct 18 15:55:45 2019 -0700 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Fri Oct 18 16:45:46 2019 -0700 |
tree | 44264b67248a1b1b1a18594e1d9866cf7692e161 | |
parent | 03041933a578ae4de6c9df4903549f4d8e86126c [diff] |
nmxact: Don't skip seq numbers in `image upload` nmxact generates several image upload requests for each one that it actually sends. It does this to determine the ideal chunk size. Each of these requests was consuming a sequence number. As a result, the sequence number would increase by three for each request that was actually transmitted. This commit changes the image upload command such that the sequence number is only increased when a request is actually sent.
Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS. It uses a connection profile to establish a connection with a device and sends command requests to the device. The newtmgr tool documentation can be found under /docs which are published at http://mynewt.apache.org/latest/os/modules/devmgmt/newtmgr.html
Build the newtmgr tool as follows:
apache-mynewt-newtmgr-1.3.0
directory to $GOPATH/src/mynewt.apache.org/newtmgr
cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
GO111MODULE=on go build