Fix not working MTU exchange on newer versions of mac

It seems like on newer versions of mac (e.g. Monterey)
fix with looping three times to get right MTU
doesn't work. Also for some strange reason default TxMTU
is set to 17 instead of 23. Now user can set MTU from
the command line (-m <MTU value>).
If MTU is not set in the command line and after performing
three loops MTU is still <23 we hardcode it to 185.
4 files changed
tree: 8cfa47695422bf4bfd7bb5a4d340cb2803f75895
  1. .github/
  2. docs/
  3. newtmgr/
  4. nmxact/
  5. .gitignore
  6. .rat-excludes
  7. go.mod
  8. go.sum
  9. LICENSE
  10. Makefile
  11. NOTICE
  12. README.md
  13. 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. The newtmgr tool documentation can be found under /docs which are published at http://mynewt.apache.org/latest/os/modules/devmgmt/newtmgr.html

Building

Build the newtmgr tool as follows:

  1. Unpack newtmgr source.
  2. Rename resulting apache-mynewt-newtmgr-1.9.0 directory to $GOPATH/src/mynewt.apache.org/newtmgr
  3. cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
  4. GO111MODULE=on go build