commit | 84739773a36cda2c4d185925fbc3ce726f65a85b | [log] [tgz] |
---|---|---|
author | Naveen Kaje <naveen.kaje@juul.com> | Mon Oct 26 06:58:02 2020 -0500 |
committer | Naveen Kaje <naveen.kaje@juul.com> | Mon Oct 26 07:08:08 2020 -0500 |
tree | 4ada743700ac8a0a97428024bdc0365022f04097 | |
parent | 87d51a23a7575b070335ececd0e240092860c24f [diff] |
nmxact/udp: Fix image upload failure due to unsupported async method This addresses the UDP based image upload failure. The UDP and naked sessons do not implement TxRxAsync for optimized transfer as in BLE, however, continue to support the operation by calling TxRxMgmt. Failure signature: ~/go/bin/mcumgr --conntype udp --connstring=[192.168.1.1]:1337 image upload build_f429/smpsvr/zephyr/zephyr.signed.bin 0 / 90644 [-----------------------------------------] 0.00% Error: ImageUpload unexpected error after 0/90644 bytes Signed-off-by: Naveen Kaje <naveen.kaje@juul.com>
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