LwM2M Advanced Firmware Update for external MCU

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

I believe this part is for putting the nRF52 into serial recovery mode: https://github.com/nrfconnect/sdk-nrf/blob/main/samples/cellular/lwm2m_client/src/fota_external/client.c
I see this is to upload the new nrf52 image to the server and maybe start the update commands: https://github.com/nrfconnect/sdk-nrf/blob/main/samples/cellular/lwm2m_client/scripts/fota.py
I think this is for nrf91 to connect to the server and download the firmware: https://github.com/nrfconnect/sdk-nrf/blob/main/samples/cellular/lwm2m_client/src/main.c#L236
But I couldn't find where the nRF91 transfers the data to the nRF52 while downloading the firmware from the server.
Could you point me to where this happens?
Thanks
/CJ
Parents Reply Children
Related