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

[Android]Implement OTAProviderDelegate in JNI and hook with Java Layer #29267

Closed
yunhanw-google opened this issue Sep 14, 2023 · 0 comments · Fixed by #30145
Closed

[Android]Implement OTAProviderDelegate in JNI and hook with Java Layer #29267

yunhanw-google opened this issue Sep 14, 2023 · 0 comments · Fixed by #30145
Assignees
Labels

Comments

@yunhanw-google
Copy link
Contributor

yunhanw-google commented Sep 14, 2023

We need to implement OTAProviderDelegate with below functions and hooks with Java controller
void HandleQueryImage(
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath,
const chip::app::Clusters::OtaSoftwareUpdateProvider::Commands::QueryImage::DecodableType & commandData) override;
void HandleApplyUpdateRequest(
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath,
const chip::app::Clusters::OtaSoftwareUpdateProvider::Commands::ApplyUpdateRequest::DecodableType & commandData) override;
void HandleNotifyUpdateApplied(
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath,
const chip::app::Clusters::OtaSoftwareUpdateProvider::Commands::NotifyUpdateApplied::DecodableType & commandData) override;

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

Successfully merging a pull request may close this issue.

3 participants