caco3 opened a new issue #92:
URL: https://github.com/apache/mynewt-mcumgr/issues/92


   Hi all
   
   I am trying to get the "SMP Server Sample" 
(https://docs.zephyrproject.org/latest/samples/subsys/mgmt/mcumgr/smp_svr/README.html)
 working.
   
   I have a nrf52840dongle_nrf52840 and successfully installed MCUboot (option 
#2) and the "SMP Server Sample" on it.
   I also have a laptop with a built-in BLE radio.
   I successfully can test the connection and even list the image:
   ```
   > mcumgr --conntype ble --connstring ctlr_name= peer_name='Zephyr' echo 
hello 
   hello
   ```
   ```
   > sudo mcumgr --conntype ble --connstring ctlr_name=peer_name='Zephyr' image 
list
    Images:
     image=0 slot=0
       version: 0.0.0
       bootable: true
       flags: active confirmed
       hash: 37a4a9403fbd0a0336152646947ccce5faf6674e3a29b4220eb2b97a2f613b9d
   Split status: N/A (0)
   ```
   
   How ever when I try to upload a new image, I run into n 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
   ```
   
   Any Idea how this can get fixed?


----------------------------------------------------------------
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