Hi,
I want to DFU the nRF52 from nRF91 over UART. And I find this sample: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/lwm2m_client/fota_external_mcu.html
Hi,
I want to DFU the nRF52 from nRF91 over UART. And I find this sample: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/lwm2m_client/fota_external_mcu.html
Hello,
On nRF91 side, the nRF52 is presented as one of the target for `dfu_target` library.
So this is implemented as dfu_target_smp.c which forwards the data to the SMP client and that sends data over UART to nRF52 which has the SMP server running.
LwM2M logic is in lwm2m_firmware.c but that should not be that important. All the "magic" should be in dfu_target_smp.c.
Then regarding all the SMP protocol handling and those MCUmgr services, all that code is in the Zephyr side.
Hope that helps,
Kenneth
Hi, thanks
In order to be able to formward the data, I expect to see some function calls in the code base like "dfu_target_smp_client_init" and "dfu_target_smp_write", but I cant find them.
How dfu_target_smp.c is connected to https://github.com/nrfconnect/sdk-nrf/tree/main/samples/cellular/lwm2m_client
Can you please point me the workflow like from this function -> that function -> dfu_target_smp_write....
Best
/CJ
On boot:
FOTA start:
Downloading the image