How to get the update progress of FOTA based on BLE in version NCS2.8.0?

ble_lesson5_ex1_ENCRYPT.rar

I tryed to use the callback function provided by mgmt to hookit, but after including the header file`zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt.h`, it prompted that "mcuboot_config/mcuboot_config.h" could not be found.If you need more information or the entire project file, please let me know.Thanks.

Parents Reply
  • 我检查了此示例的源代码。它使用 os_mgmt_group_events 中的 MGMT_EVT_OP_OS_MGMT_INFO_CHECK 和 MGMT_EVT_OP_OS_MGMT_INFO_APPEND 事件。但是,这两个事件似乎都无法提供 OTA 时数据的传输信息。如果我的理解不正确,您能给我解释一下吗?

    我认为这个问题可以从两个方面来看待:

    1.如何通过回调函数监控升级 IMAG 的传输进度。

    2.关于我自己构建的这个项目,找不到 mcuboot_config/mcuboot_config.h 的原因是什么?

Children
Related