-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[ESP32] Init OTA requestor in all-clusters-app #13246
[ESP32] Init OTA requestor in all-clusters-app #13246
Conversation
PR #13246: Size comparison from b0af6ba to 055acd3 Increases (4 builds for esp32, mbed, p6)
Full report (29 builds for efr32, esp32, k32w, mbed, nrfconnect, p6, qpg, telink)
|
/rebase |
055acd3
to
868d8c5
Compare
PR #13246: Size comparison from b006321 to 868d8c5 Increases (4 builds for esp32, mbed, p6)
Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
868d8c5
to
c959872
Compare
PR #13246: Size comparison from 206e173 to c959872 Increases (1 build for p6)
Full report (14 builds for efr32, k32w, linux, p6, qpg, telink)
|
c959872
to
2e27319
Compare
PR #13246: Size comparison from 206e173 to 2e27319 Increases (2 builds for esp32)
Decreases (4 builds for esp32, mbed, p6)
Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
e6a2f7d
to
e3e33d4
Compare
PR #13246: Size comparison from b81facc to e3e33d4 Increases (3 builds for esp32, linux)
Decreases (3 builds for esp32, p6)
Full report (23 builds for esp32, k32w, linux, nrfconnect, p6, qpg, telink)
|
@shubhamdp What is the state of this? Is this dependent on any PR? |
/rebase |
Waiting on CI to pass, just rebased. |
e3e33d4
to
b14f034
Compare
PR #13246: Size comparison from 5d0c314 to b14f034 Increases (1 build for linux)
Decreases (1 build for p6)
Full report (14 builds for efr32, k32w, linux, p6, qpg, telink)
|
Also, enabled OTA_PROVIDER_CLIENT. Removed the weak function definitions from OTA command handlers.
b14f034
to
a2b8441
Compare
PR #13246: Size comparison from 5d0c314 to a2b8441 Increases (4 builds for esp32, linux, p6)
Decreases (4 builds for esp32, mbed, p6)
Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
To support OTA requestor functionality, we need OTA requestor server and OTA provider client. OTA provider client was enabled in project-chip#13246 which broke the ZAP regen. Having same cluster's client and server in same app is not supported in the zap. Removed OTA provider client from all-clusters-app Removing the OTA requestor support from all-clusters-app/esp32
To support OTA requestor functionality, we need OTA requestor server and OTA provider client. OTA provider client was enabled in project-chip#13246 which broke the ZAP regen. Having same cluster's client and server in same app is not supported in the zap. Removed OTA provider client from all-clusters-app Removing the OTA requestor support from all-clusters-app/esp32
To support OTA requestor functionality, we need OTA requestor server and OTA provider client. OTA provider client was enabled in project-chip#13246 which broke the ZAP regen. Having same cluster's client and server in same app is not supported in the zap. Removed OTA provider client from all-clusters-app Removing the OTA requestor support from all-clusters-app/esp32
Also, enabled OTA_PROVIDER_CLIENT. Removed the weak function definitions from OTA command handlers.
Problem
OTA requestor is not initialized in all-clusters-app/esp32.
Chip shell is using the weak function definitions for handling OTA commands.
Change overview
Initialize OTA requestor in all-clusters-app.
Also, enabled OTA_PROVIDER_CLIENT in all-cluster-app zap file.
Removed the weak function definitions from OTA command handlers.
Testing
Tested manually, all-clusters-app/esp32 and ota-provider-app/linux.
Triggered OTA using
matter ota query
chip shell command and./chip-tool otasoftwareupdaterequestor announce-ota-provider
chip-tool command.