How to use MCUmgr for FOTA updates over BLE?

Junghwan Sung <superstar9999999@...>


I am going to use Zephyr on another platforms (NOT Nordic's) for DFU over BLE.

In case of Nordic platforms, can be used nRF tools on mobile or nRF utils on PC for send a firmware or etc to target device working on Zephyr OS.
Also, The target device working on Zephyr OS is Nordic's platform, and this would be start DFU mode if press a button to start boot loader.

By the way, Zephyr released MCUmgr and MCUboot since release 1.11.0.
  • Firmware over-the-air (FOTA) updates over BLE using MCUmgr.
I think MCUmgr and MCUboot could be used another platforms NOT Nordic's.

So, There are questions about this.

Q1. Is the following sequence is right?

If it is wrong, please let me know right sequence.

If the above sequence is right,

In Shell of zephyr device via uart console application such as teraterm: 
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' image upload singed.bin

To enter the DFU mode, could it be button like Nordic's? 

Should SMP server application be always running for DFU over BLE?

Is there documents more user friendly or video about SMP Server Sample? 
I think it seems great example to understand how DFU over BLE works.

I will wait for your reply.

June Sung

Join { to automatically receive all group messages.