commit | 5fa2e0fbd6ab3e19c3cc8f431939dc62ee7d11d9 | [log] [tgz] |
---|---|---|
author | Michal Gorecki <michal.gorecki@codecoup.pl> | Fri Dec 09 14:18:40 2022 +0100 |
committer | Szymon Janc <szymon.janc@codecoup.pl> | Thu Jul 13 16:50:52 2023 +0200 |
tree | 8cfa47695422bf4bfd7bb5a4d340cb2803f75895 | |
parent | 5f1f36eb2243b76156685e99f70c3003621399d8 [diff] |
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.
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.9.0
directory to $GOPATH/src/mynewt.apache.org/newtmgr
cd $GOPATH/src/mynewt.apache.org/newtmgr/newtmgr
GO111MODULE=on go build