apache / mynewt-newtmgr

Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS
https://mynewt.apache.org/
Apache License 2.0
35 stars 77 forks source link

nmxact: Fix image upload failure due to unsupported async method #176

Closed nkaje closed 4 years ago

nkaje commented 4 years ago

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

nkaje commented 4 years ago

Fix for https://github.com/apache/mynewt-mcumgr-cli/issues/17