Zephyr buttonless DFU over uart when my application uses uart async for comms

Using 54L15 DK for testing. Zephyr toolchain & SDK both v3.02. I have been through the DevAcadamy exercise which uses Blinky for its example, now I want to integrate into my own application.

My application uses the uart async adapter for both a CLI and data output. (Note the CLI is legacy code based around the uart callback, not using Zephyr's own CLI. The output is all done by printk).

How does the MCUMGR interact with the application's uart handling?

Secondly can you confirm that it's OK to enable both uart and BLE transports for DFU concurrently?

Thanks

  • OK that works thank you. For some reason booting into the app takes a few seconds longer than the timeout but that's pretty trivial. I'll need a sizeable timeout to allow the user to run Auterm and connect which means a incurring a delay on boot up but that'll have to be a "feature" Slight smile It's a shame you can't use GPREGRET, maybe request it as a patch?

    I still need to address part B of my original query - mixing serial recovery & FOTA - but I'll split that into a separate ticket

    Regards,

    Nick

Related