commit | 54fb24b9c274bbc2bce23c18753209945b186efb | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Wed Nov 27 16:08:17 2019 -0800 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Mon Dec 02 09:26:03 2019 -0800 |
tree | 990d836f8bf56f430328f4c994272f6e4ea5aa3b | |
parent | c6d8715fcff6b2a72558cb2bedbf23b9a3a0914f [diff] |
log show: Specify `-a` to get entire log Normally, the `newtmgr log show` command only receives one packet's worth of log entries. This commit adds a `-a` option to this command. When this option is specified, newtmgr continues requesting more data until it reaches the end of the log. This is slightly better than using a script to read an entire log because newtmgr will reuse the established BLE connection for its subsequent requests, making the process faster.
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