SMP Client for DFU over BLE using ncs 2.6. Sample needed

Hi,

Goal: Send a firmware update from nrf5340 to another nrf5340 over BLE

I found the following sample and a lot of support tickets talking about this sample but I am unable to get this to work.

https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/client_smp/smp_client_ble#preparations

I flashed the SMP server on one 5340dk kit using ncs 2.6 and flashed the SMP client after applying patch (using ncs 2.2) on another 5340 dk using the example (from tag 2.2) above.
I was able to get the two to connect to each other and list the image using button 1. However as soon as i start the upload using button2 , it fails because of zcbor errors

I then tried flashing the SMP server , also using ncs 2.2. This time the upload just crashes without giving any error logs.

My target environment is ncs 2.6 so i am now planning to stop my effort on getting this to work on 2.2 and work directly on 2.6

I saw this ticket that talks about this but no further resolution.

Updating the Central SMP client example for full DFU support in NCS version 2.6.0 and later

There is a comment from  talking about using the SMP library instead of using zcbor encoding but i am not sure i understand that.

It would be great if someone can provide or point me to a sample of SMP server and SMP client where the DFU works. 

Related