rmal30 opened a new issue #169:
URL: https://github.com/apache/mynewt-newtmgr/issues/169


   Hi all,
   I believe that one of the recent pull requests merged in (#162) broke DFU 
functionality over bluetooth as discussed in this 
[issue](https://github.com/apache/mynewt-mcumgr-cli/issues/15):
   
   In that issue, @caco3 encountered a bug where image upload on both newtmgr 
and mcumgr would fail with the following error:
   `> sudo mcumgr --conntype ble --connstring peer_name='Zephyr' image upload 
smp_svr.signed.bin -t 100
    0 B / 182.61 KiB 
[--------------------------------------------------------------------------------------------------]
   0.00%
    panic: send on closed channel
    goroutine 493 [running]:
     mynewt.apache.org/newtmgr/nmxact/nmp.(*Listener).AfterTimeout.func1()
       /home/ubuntu/go/src/mynewt.apache.org/newtmgr/nmxact/nmp/dispatch.go:50 
+0x64
     created by time.goFunc
       /usr/lib/go-1.13/src/time/sleep.go:168 +0x44`
   
   I could reproduce this issue on Mac OSX with the smp_svr example in Zephyr. 
When I checked out the git commit with version hash 
61395d2a705611c376226fa5114ea81392ded671 before the breaking pull request, both 
mcumgr and newtmgr start working.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to