commit | 80e5c283e6b155177814d1e5040be7807c0d75aa | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Wed Feb 19 16:05:56 2020 -0800 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Thu Feb 20 08:52:53 2020 -0800 |
tree | a1a2940e6d35a627fedafe8b20a9aaf9c907b9c9 | |
parent | 0d6802eb80b5277936052d5117168d7cd90c7cd8 [diff] |
res: Correctly parse payload params In `newtmgr <op> <resource>> k1=v1 k2=v2 ...`, the tool was discarding all the k=v pairs and encoding an empty map instead.
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