commit | a59ad1a9867e444df70bc8069e0432292835878c | [log] [tgz] |
---|---|---|
author | cwanda <wanda@happycity.com> | Tue Sep 12 00:32:26 2017 -0700 |
committer | cwanda <wanda@happycity.com> | Tue Sep 12 00:32:26 2017 -0700 |
tree | b24d4be3a8335b0f94f43c725cb50a010bb90c88 | |
parent | 8bc55635bbac12c036b25b4968ee0f48c1f06e52 [diff] |
Fixed build error on Windows. Added BuildAdvertiser()
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 dep tool (https://github.com/golang/dep).
To build newtmgr from source, you will need to manually acquire the missing dependencies. OS-specific instructions are below:
apache-mynewt-newtmgr-1.2.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.2.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