commit | 069dd07e76f945f282888308b48347ff7ccc3516 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Fri Aug 11 11:48:41 2017 -0700 |
committer | Christopher Collins <ccollins@apache.org> | Fri Aug 11 11:48:41 2017 -0700 |
tree | 6fd4c2467186c789f68e89f8178139922cc7c47d | |
parent | bc7c0cd86529fb1ce6c046e13fad9152b337a982 [diff] |
Revert "emove currantlabs/ble from windows" This reverts commit 79ea43ca883493dc4b467cde2e37ddfcac3e3272. I accidentally pushed this commit to the 1_1_0_dev branch.
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. Thew newtmgr tool is documented at http://mynewt.apache.org/latest/newtmgr/overview/
newtmgr is vendored using the godep tool (https://github.com/tools/godep). Some dependencies are intentially excluded from the vendor directory. The reason these are not vendored is to prevent errors during elicited by go get mynewt.apache.org/newtmgr/...
on linux. These two dependencies contain OS-specific code, something go get
seems to trip over when it is vendored.
To build newtmgr from source, you will need to manually acquire the missing dependencies. OS-specific instructions are below:
apache-mynewt-newtmgr-1.1.0
directory to $GOPATH/src/mynewt.apache.org/newtmgr
cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
go get github.com/currantlabs/ble github.com/mgutz/logxi/v1 golang.org/x/sys/unix
go build
apache-mynewt-newtmgr-1.1.0
directory to $GOPATH/src/mynewt.apache.org/newtmgr
cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
go get github.com/currantlabs/ble github.com/mgutz/logxi/v1 github.com/raff/goble/xpc
go build