commit | c636cae26b9343bf4bcd0df8135f4f707356ede2 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Tue Apr 02 14:24:32 2019 -0700 |
committer | Christopher Collins <ccollins@apache.org> | Tue Apr 02 14:25:22 2019 -0700 |
tree | b2c28d060166a48360ec856ca81f71f1aa726eae | |
parent | ef55153d07947bc515e55eace8e160252892b42b [diff] |
Allow alternate omgr resource This commit adds the `--ompres` (OMP resource) command line switch. If specified, newtmgr sends its OMP request to the specified resource instead of `/omgr`.
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
go build