Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai_http_update_ota接口的ota状态, 在应用层状未知 #13

Open
sunzigang opened this issue Jul 1, 2023 · 0 comments
Open

ai_http_update_ota接口的ota状态, 在应用层状未知 #13

sunzigang opened this issue Jul 1, 2023 · 0 comments

Comments

@sunzigang
Copy link

问题: 在实际的ota使用中, ota完成后, 需要将成功/失败的状态上报到mqtt, 但是当前的ai_http_update_ota接口, ota成功直接重启(虽然可以在应用层设置外部调用的调用: ota_parame_t.rebooot_cb = set_ota_reboot; 然后在set_ota_reboot函数中上报成功的消息并且重启, 但是违背了接口的单一原则)
期望: 可以将成功失败的状态通过回调传出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant