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

[EFR32 OTA] Invoke Silabs API for writing, verifying and applying the image #13499

Merged
merged 13 commits into from
Jan 13, 2022
Merged
Prev Previous commit
Next Next commit
Call the OTARequestor Init() method
  • Loading branch information
selissia committed Jan 10, 2022
commit 5adcb365e8c41a0549e01bd59aa0d57bec791deb
2 changes: 2 additions & 0 deletions examples/ota-requestor-app/efr32/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ int main(void)
// Connect the Requestor and Requestor Driver objects
gRequestorCore.SetOtaRequestorDriver(&gRequestorUser);

gRequestorUser.Init(&gRequestorCore, &gImageProcessor);

OTAImageProcessorParams ipParams;
ipParams.imageFile = CharSpan("test.txt");
gImageProcessor.SetOTAImageProcessorParams(ipParams);
Expand Down