commit | 0663961c537af3cfebee51854c515917c5bff804 | [log] [tgz] |
---|---|---|
author | Christopher Collins <ccollins@apache.org> | Wed Jul 08 11:42:34 2020 -0700 |
committer | Christopher Collins <ccollins@apache.org> | Wed Jul 08 14:53:31 2020 -0700 |
tree | 6173f2950bcf694033911da325d4384169263efa | |
parent | 61395d2a705611c376226fa5114ea81392ded671 [diff] |
nmcoap: Replace filter callbacks with interfaces Sometimes it is desirable to reuse the same parameters when generating a sequence of messages (e.g., when calculating the maximum payload size for an image upload request). This was not possible with a session configured with a TxFilter since there is no way to specify which parameters the filter should use for a given message. This commit creates a pair of interfaces (TxFilter and RxFilter) to replaces the old callbacks. The TxFilter interface allows its parameters to be "frozen" and "unfrozen".
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