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

[ota] Store Default OTA Providers in flash #15970

Merged

Conversation

Damian-Nordic
Copy link
Contributor

Problem

OTA Requestor's DefaultOTAProviders attribute is not persisted.

Change overview

Add OTARequestorStorage to all examples using OTARequestor.
Use OTARequestorStorage interface to load DefaultOTAProviders on application startup and store it on each modification.
The current approach may cause some unnecessary writes since each attribute write is actually "Remove all" + "Append item" operations, but the existing attribute accessor interface doesn't notify an implementation that a given list operation is the last one in the action.
Fixes #14338.

Testing

DefaultOTARequestorStorage is covered by unit tests.
Additionally, tested on nRF connect platform that the attribute survives a device reboot.

@Damian-Nordic Damian-Nordic deleted the default-ota-persistence branch March 9, 2022 13:13
andy31415 pushed a commit that referenced this pull request Mar 9, 2022
* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>
Former-commit-id: b942392
selissia added a commit that referenced this pull request Mar 14, 2022
* Add header parsing logic to OTAImageProcessorImpl

* Use a local variable for the buffer when parsing the header

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Set periodic query timeout

* Make OTAImageProcessorImpl::Apply() schedule work instead of running directly

* Update error logs

* Remove files that got out of synch with the upstream repo

* Return after bootloader errors

* Update OTA documentation for EFR32

* Fix spelling

* Add OTA_PERIODIC_TIMEOUT  to the lock-app build

* Fix typo

* Add OTA_periodic_query_timeout to EFR32 light-switch and window-app

* Restyled by clang-format

* Restyled by gn

* Restyled by prettier-markdown

* Fix typos

* Update dictionary

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
selissia added a commit that referenced this pull request Mar 24, 2022
* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Use correct FLASH addresses in the EFR32MG24 linker file

* Remove merge artifacts

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
selissia added a commit that referenced this pull request Apr 13, 2022
* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Use an intermediate buffer for writing the image to the booloader storage

* Use critical section in the bootloader API call

* Cleanup log messages, move variables into a class

* Remove merge artifacts

* Update EFR32 documentation

* Fix typo

* Restyled by whitespace

* Restyled by clang-format

* Restyled by prettier-markdown

* Rename array size parameter, add aligned attribute

* Trivial change to restart the CI (restyle job need to be kicked)

* Restyled by clang-format

* Update comments

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…hip#16120)

* Add header parsing logic to OTAImageProcessorImpl

* Use a local variable for the buffer when parsing the header

* Test added march 8 (project-chip#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

* Regen to fix CI failures (project-chip#15990)

* [ota] Store Default OTA Providers in flash (project-chip#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Set periodic query timeout

* Make OTAImageProcessorImpl::Apply() schedule work instead of running directly

* Update error logs

* Remove files that got out of synch with the upstream repo

* Return after bootloader errors

* Update OTA documentation for EFR32

* Fix spelling

* Add OTA_PERIODIC_TIMEOUT  to the lock-app build

* Fix typo

* Add OTA_periodic_query_timeout to EFR32 light-switch and window-app

* Restyled by clang-format

* Restyled by gn

* Restyled by prettier-markdown

* Fix typos

* Update dictionary

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…ect-chip#16563)

* Test added march 8 (project-chip#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

* Regen to fix CI failures (project-chip#15990)

* [ota] Store Default OTA Providers in flash (project-chip#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Use correct FLASH addresses in the EFR32MG24 linker file

* Remove merge artifacts

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…ect-chip#17281)

* Test added march 8 (project-chip#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

* Regen to fix CI failures (project-chip#15990)

* [ota] Store Default OTA Providers in flash (project-chip#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Use an intermediate buffer for writing the image to the booloader storage

* Use critical section in the bootloader API call

* Cleanup log messages, move variables into a class

* Remove merge artifacts

* Update EFR32 documentation

* Fix typo

* Restyled by whitespace

* Restyled by clang-format

* Restyled by prettier-markdown

* Rename array size parameter, add aligned attribute

* Trivial change to restart the CI (restyle job need to be kicked)

* Restyled by clang-format

* Update comments

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Damian-Nordic added a commit that referenced this pull request May 19, 2022
…#18584)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Changes for transmitting UpdateApplied for EFR32

* Delay HandleApply by EFR32_KVS_SAVE_DELAY_SECONDS + 1

Delay HandleApply() to give KVS time to store the data in StoreCurrentUpdateInfo(). Introduce EFR32_KVS_SAVE_DELAY_SECONDS to represent the delay amount KeyValueStoreManagerImpl uses before saving the key/vaule pair

* Remove merge artifacts

* Restyled by clang-format

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andy31415 pushed a commit that referenced this pull request Jun 1, 2022
* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Update the pointer to third_party/efr32_sdk/ repo, add missing BRD4187A headers.

* Remove merge artifacts

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andy31415 pushed a commit that referenced this pull request Jun 22, 2022
…19858)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Test VCOM EUSART fix

* EUSART init test code

* Fix the IRQ handler

* Remove merge artifacts

* Clean up debug code

* Clean up debug code

* Restyled by clang-format

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
woody-apple pushed a commit that referenced this pull request Jul 9, 2022
…before reboot (#20506)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Force EFR32 key value store to save pending keys before reboot

* Remove merge artifacts

* Restyled by clang-format

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
github-actions bot pushed a commit that referenced this pull request Jul 9, 2022
…before reboot (#20506)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Force EFR32 key value store to save pending keys before reboot

* Remove merge artifacts

* Restyled by clang-format

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andy31415 pushed a commit that referenced this pull request Jul 9, 2022
…before reboot (#20506) (#20523)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Force EFR32 key value store to save pending keys before reboot

* Remove merge artifacts

* Restyled by clang-format

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: Sergei Lissianoi <54454955+selissia@users.noreply.github.com>
Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
jmartinez-silabs pushed a commit that referenced this pull request Jul 12, 2022
…0570)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Set MRP Active Retry interval in the Linux ota-provider-app config

* Remove merge artifacts

* Restyled by whitespace

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
github-actions bot pushed a commit that referenced this pull request Jul 12, 2022
…0570)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Set MRP Active Retry interval in the Linux ota-provider-app config

* Remove merge artifacts

* Restyled by whitespace

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andy31415 pushed a commit that referenced this pull request Jul 12, 2022
…0570) (#20613)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Set MRP Active Retry interval in the Linux ota-provider-app config

* Remove merge artifacts

* Restyled by whitespace

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: Sergei Lissianoi <54454955+selissia@users.noreply.github.com>
Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
ajwak pushed a commit to ajwak/connectedhomeip that referenced this pull request Jul 13, 2022
…oject-chip#20570)

* Test added march 8 (project-chip#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

* Regen to fix CI failures (project-chip#15990)

* [ota] Store Default OTA Providers in flash (project-chip#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Set MRP Active Retry interval in the Linux ota-provider-app config

* Remove merge artifacts

* Restyled by whitespace

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
jmartinez-silabs pushed a commit that referenced this pull request Jul 18, 2022
* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Update silabs submodule to include booltoader binaries; update documentation

* Remove merge artifacts

* Restyled by prettier-markdown

* Update dictionary

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
github-actions bot pushed a commit that referenced this pull request Jul 18, 2022
* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Update silabs submodule to include booltoader binaries; update documentation

* Remove merge artifacts

* Restyled by prettier-markdown

* Update dictionary

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andy31415 pushed a commit that referenced this pull request Jul 18, 2022
…) (#20874)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Update silabs submodule to include booltoader binaries; update documentation

* Remove merge artifacts

* Restyled by prettier-markdown

* Update dictionary

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: Sergei Lissianoi <54454955+selissia@users.noreply.github.com>
Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
selissia added a commit that referenced this pull request Aug 29, 2022
* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Update matter_support submodule pointer to include new bootloader binaries

* Update README files to add all EFR32 supported boards

* Remove merge artifacts

* Restyled by prettier-markdown

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
selissia added a commit that referenced this pull request Aug 31, 2022
…22315)

* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Disable OpenThread interface in a separate execution thread

* Remove merge artifacts

* Restyled by clang-format

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
…p#22240)

* Test added march 8 (project-chip#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

* Regen to fix CI failures (project-chip#15990)

* [ota] Store Default OTA Providers in flash (project-chip#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Update matter_support submodule pointer to include new bootloader binaries

* Update README files to add all EFR32 supported boards

* Remove merge artifacts

* Restyled by prettier-markdown

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
…roject-chip#22315)

* Test added march 8 (project-chip#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

* Regen to fix CI failures (project-chip#15990)

* [ota] Store Default OTA Providers in flash (project-chip#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Disable OpenThread interface in a separate execution thread

* Remove merge artifacts

* Restyled by clang-format

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
andy31415 pushed a commit that referenced this pull request Oct 3, 2022
* Test added march 8 (#15957)

* Added new manual scripts

* Added Auto generated File

* [OTA] Fix OTARequestorDriverImpl inclusion (#15981)

* Regen to fix CI failures (#15990)

* [ota] Store Default OTA Providers in flash (#15970)

* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>

* Remove merge artifacts

* Cast boolean to uint8_t as setOnOffValue expects, fixes GCC 8.3 error

* Make endpoint id a uint16_t as per spec

* Restyled by clang-format

* Update the signature of OnOffServer::setOnOffValue() to avoid casts

* Fix printf argument and formatting

Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
Co-authored-by: Carol Yang <clyang@apple.com>
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request Oct 13, 2022
…o a uint16_t (project-chip#22998)

Merge in WMN_TOOLS/matter from cherry_pick/unify_build_fix to silabs_1.0

Squashed commit of the following:

commit 77f4fef74e58480c79bfb8dcfa67ffbdd57c61f3
Author: Sergei Lissianoi <54454955+selissia@users.noreply.github.com>
Date:   Mon Oct 3 16:51:28 2022 -0400

    In emberAfEndpointConfigure() change endpoint ID to a uint16_t (project-chip#22998)

    * Test added march 8 (project-chip#15957)

    * Added new manual scripts

    * Added Auto generated File

    * [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

    * Regen to fix CI failures (project-chip#15990)

    * [ota] Store Default OTA Providers in flash (project-chip#15970)

    * [ota] Store Default OTA Providers in flash

    Store Default OTA Providers in flash each time the attribute
    is modified and load it back on the application startup.

    * Restyled by clang-format

    * Fix build and reduce flash usage

    Co-authored-by: Restyled.io <commits@restyled.io>

    * Remove merge artifacts

    * Cast boolean to uint8_t as setOnOffValue expects, fixes GCC 8.3 error

    * Make endpoint id a uint16_t as per spec

    * Restyled by clang-format

    * Update the signature of OnOffServer::setOnOffValue() to avoid casts

    * Fix printf argument and formatting

    Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
    Co-authored-by: Carol Yang <clyang@apple.com>
    Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
    Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
    Co-authored-by: Restyled.io <commits@restyled.io>
nipatel-silabs pushed a commit to nipatel-silabs/connectedhomeip that referenced this pull request Oct 19, 2022
…ndpoint ID to a uint16_t (project-chip#22998)

Merge in WMN_TOOLS/matter from cherry_pick/unify_build_fix to silabs_1.0

Squashed commit of the following:

commit 77f4fef74e58480c79bfb8dcfa67ffbdd57c61f3
Author: Sergei Lissianoi <54454955+selissia@users.noreply.github.com>
Date:   Mon Oct 3 16:51:28 2022 -0400

    In emberAfEndpointConfigure() change endpoint ID to a uint16_t (project-chip#22998)

    * Test added march 8 (project-chip#15957)

    * Added new manual scripts

    * Added Auto generated File

    * [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

    * Regen to fix CI failures (project-chip#15990)

    * [ota] Store Default OTA Providers in flash (project-chip#15970)

    * [ota] Store Default OTA Providers in flash

    Store Default OTA Providers in flash each time the attribute
    is modified and load it back on the application startup.

    * Restyled by clang-format

    * Fix build and reduce flash usage

    Co-authored-by: Restyled.io <commits@restyled.io>

    * Remove merge artifacts

    * Cast boolean to uint8_t as setOnOffValue expects, fixes GCC 8.3 error

    * Make endpoint id a uint16_t as per spec

    * Restyled by clang-format

    * Update the signature of OnOffServer::setOnOffValue() to avoid casts

    * Fix printf argument and formatting

    Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
    Co-authored-by: Carol Yang <clyang@apple.com>
    Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
    Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
    Co-authored-by: Restyled.io <commits@restyled.io>
mkardous-silabs added a commit to mkardous-silabs/connectedhomeip that referenced this pull request Nov 2, 2022
…o a uint16_t (project-chip#22998)

Merge in WMN_TOOLS/matter from cherry_pick/unify_build_fix to silabs_1.0

Squashed commit of the following:

commit 77f4fef74e58480c79bfb8dcfa67ffbdd57c61f3
Author: Sergei Lissianoi <54454955+selissia@users.noreply.github.com>
Date:   Mon Oct 3 16:51:28 2022 -0400

    In emberAfEndpointConfigure() change endpoint ID to a uint16_t (project-chip#22998)

    * Test added march 8 (project-chip#15957)

    * Added new manual scripts

    * Added Auto generated File

    * [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

    * Regen to fix CI failures (project-chip#15990)

    * [ota] Store Default OTA Providers in flash (project-chip#15970)

    * [ota] Store Default OTA Providers in flash

    Store Default OTA Providers in flash each time the attribute
    is modified and load it back on the application startup.

    * Restyled by clang-format

    * Fix build and reduce flash usage

    Co-authored-by: Restyled.io <commits@restyled.io>

    * Remove merge artifacts

    * Cast boolean to uint8_t as setOnOffValue expects, fixes GCC 8.3 error

    * Make endpoint id a uint16_t as per spec

    * Restyled by clang-format

    * Update the signature of OnOffServer::setOnOffValue() to avoid casts

    * Fix printf argument and formatting

    Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
    Co-authored-by: Carol Yang <clyang@apple.com>
    Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
    Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
    Co-authored-by: Restyled.io <commits@restyled.io>
rerasool pushed a commit to SiliconLabs/matter that referenced this pull request Nov 2, 2022
…o a uint16_t (project-chip#22998)

Merge in WMN_TOOLS/matter from cherry_pick/unify_build_fix to silabs_1.0

Squashed commit of the following:

commit 77f4fef74e58480c79bfb8dcfa67ffbdd57c61f3
Author: Sergei Lissianoi <54454955+selissia@users.noreply.github.com>
Date:   Mon Oct 3 16:51:28 2022 -0400

    In emberAfEndpointConfigure() change endpoint ID to a uint16_t (project-chip#22998)

    * Test added march 8 (project-chip#15957)

    * Added new manual scripts

    * Added Auto generated File

    * [OTA] Fix OTARequestorDriverImpl inclusion (project-chip#15981)

    * Regen to fix CI failures (project-chip#15990)

    * [ota] Store Default OTA Providers in flash (project-chip#15970)

    * [ota] Store Default OTA Providers in flash

    Store Default OTA Providers in flash each time the attribute
    is modified and load it back on the application startup.

    * Restyled by clang-format

    * Fix build and reduce flash usage

    Co-authored-by: Restyled.io <commits@restyled.io>

    * Remove merge artifacts

    * Cast boolean to uint8_t as setOnOffValue expects, fixes GCC 8.3 error

    * Make endpoint id a uint16_t as per spec

    * Restyled by clang-format

    * Update the signature of OnOffServer::setOnOffValue() to avoid casts

    * Fix printf argument and formatting

    Co-authored-by: kowsisoundhar12 <57476670+kowsisoundhar12@users.noreply.github.com>
    Co-authored-by: Carol Yang <clyang@apple.com>
    Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
    Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
    Co-authored-by: Restyled.io <commits@restyled.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add persistent storage support for DefaultOTAProviders attribute
4 participants