Revert "emove currantlabs/ble from windows"

This reverts commit 79ea43ca883493dc4b467cde2e37ddfcac3e3272.

I accidentally pushed this commit to the 1_1_0_dev branch.
1 file changed
tree: 6fd4c2467186c789f68e89f8178139922cc7c47d
  1. newtmgr/
  2. nmxact/
  3. .gitignore
  4. .rat-excludes
  5. LICENSE
  6. NOTICE
  7. README.md
  8. RELEASE_NOTES.md
README.md

Newtmgr

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/

Building

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:

Linux

  1. Unpack newtmgr source.
  2. Rename resulting apache-mynewt-newtmgr-1.1.0 directory to $GOPATH/src/mynewt.apache.org/newtmgr
  3. cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
  4. go get github.com/currantlabs/ble github.com/mgutz/logxi/v1 golang.org/x/sys/unix
  5. go build

macOS

  1. Unpack newtmgr source.
  2. Rename resulting apache-mynewt-newtmgr-1.1.0 directory to $GOPATH/src/mynewt.apache.org/newtmgr
  3. cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
  4. go get github.com/currantlabs/ble github.com/mgutz/logxi/v1 github.com/raff/goble/xpc
  5. go build