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 using generic IM(invoke,read,write,subscribe) APIs #25956

Merged

Conversation

joonhaengHeo
Copy link
Contributor

@joonhaengHeo joonhaengHeo commented Apr 4, 2023

Fix #25468

The purpose of this PR is to:

  1. Create Class that returns Cluster, Attribute, and Event ID (Using jinja)
  2. Changed the function used in fragments of light on/of, level cluster, sensor cluster, multiple admin cluster, operational credential cluster, and basic cluster to Generic IM Function.

@github-actions
Copy link

github-actions bot commented Apr 4, 2023

PR #25956: Size comparison from d81d4e3 to b8289df

Decreases (1 build for cc32xx)
platform target config section d81d4e3 b8289df change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20302987 20302986 -1 -0.0
Full report (1 build for cc32xx)
platform target config section d81d4e3 b8289df change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 644409 644409 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933099 933099 0 0.0
.debug_aranges 87608 87608 0 0.0
.debug_frame 301328 301328 0 0.0
.debug_info 20302987 20302986 -1 -0.0
.debug_line 2679748 2679748 0 0.0
.debug_loc 2824679 2824679 0 0.0
.debug_ranges 286200 286200 0 0.0
.debug_str 3039406 3039406 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377422 377422 0 0.0
.symtab 256768 256768 0 0.0
.text 536336 536336 0 0.0

@andy31415
Copy link
Contributor

@joonhaengHeo please update the summary to explain the approach taken and how things are used. Ideally reviewers would read the summary to understand what to expect in the PR. Fixes ... forces me to go to a issue and even then, the issue describes just "use generic IM for ..." but does not explain how the implementation is done.

@joonhaengHeo
Copy link
Contributor Author

@andy31415
Sorry for the confusion. The reason I posted this was not for the purpose of merging, but to share the current progress with others. As you said, I will write and upload it accurately at the time of PR.

@joonhaengHeo joonhaengHeo force-pushed the implement_android_generic_im branch from b8289df to ceb0659 Compare April 6, 2023 02:36
@github-actions github-actions bot removed the platform label Apr 6, 2023
@joonhaengHeo joonhaengHeo force-pushed the implement_android_generic_im branch from ceb0659 to 64ffc4c Compare April 6, 2023 09:53
@github-actions
Copy link

github-actions bot commented Apr 6, 2023

PR #25956: Size comparison from 14ffac0 to 64ffc4c

Full report (1 build for cc32xx)
platform target config section 14ffac0 64ffc4c change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642745 642745 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933099 933099 0 0.0
.debug_aranges 87608 87608 0 0.0
.debug_frame 301328 301328 0 0.0
.debug_info 20302987 20302987 0 0.0
.debug_line 2679748 2679748 0 0.0
.debug_loc 2824679 2824679 0 0.0
.debug_ranges 286200 286200 0 0.0
.debug_str 3039406 3039406 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104289 104289 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377422 377422 0 0.0
.symtab 256768 256768 0 0.0
.text 536336 536336 0 0.0

@joonhaengHeo joonhaengHeo force-pushed the implement_android_generic_im branch from 64ffc4c to 1bd7320 Compare April 7, 2023 00:55
@github-actions
Copy link

github-actions bot commented Apr 7, 2023

PR #25956: Size comparison from 38580b0 to 1bd7320

Full report (1 build for cc32xx)
platform target config section 38580b0 1bd7320c change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642745 642745 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933119 933119 0 0.0
.debug_aranges 87608 87608 0 0.0
.debug_frame 301328 301328 0 0.0
.debug_info 20302990 20302990 0 0.0
.debug_line 2679759 2679759 0 0.0
.debug_loc 2824679 2824679 0 0.0
.debug_ranges 286200 286200 0 0.0
.debug_str 3039406 3039406 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104289 104289 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377422 377422 0 0.0
.symtab 256768 256768 0 0.0
.text 536336 536336 0 0.0

@joonhaengHeo joonhaengHeo self-assigned this Apr 7, 2023
@github-actions
Copy link

PR #25956: Size comparison from 2e4064e to f40f8ca

Decreases (1 build for cc32xx)
platform target config section 2e4064e1 f40f8ca change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20328412 20328411 -1 -0.0
Full report (1 build for cc32xx)
platform target config section 2e4064e1 f40f8ca change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643249 643249 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933224 933224 0 0.0
.debug_aranges 87792 87792 0 0.0
.debug_frame 302140 302140 0 0.0
.debug_info 20328412 20328411 -1 -0.0
.debug_line 2687890 2687890 0 0.0
.debug_loc 2838930 2838930 0 0.0
.debug_ranges 288072 288072 0 0.0
.debug_str 3042155 3042155 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104401 104401 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377963 377963 0 0.0
.symtab 256976 256976 0 0.0
.text 536728 536728 0 0.0

@joonhaengHeo joonhaengHeo marked this pull request as ready for review April 20, 2023 02:19
@pullapprove pullapprove bot requested review from amitnj, anush-apple and arkq April 20, 2023 02:19
@github-actions
Copy link

PR #25956: Size comparison from e2341d8 to e9b776e

Full report (3 builds for mbed, qpg)
platform target config section e2341d8 e9b776e change % change
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2466336 2466336 0 0.0
.bss 215960 215960 0 0.0
.data 5888 5888 0 0.0
.text 1428980 1428980 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1166568 1166568 0 0.0
.bss 99308 99308 0 0.0
.data 856 856 0 0.0
.text 613668 613668 0 0.0
lock-app qpg6105+debug (read/write) 1136688 1136688 0 0.0
.bss 94452 94452 0 0.0
.data 860 860 0 0.0
.text 583784 583784 0 0.0

@yunhanw-google yunhanw-google requested a review from andy31415 May 19, 2023 17:45
@andy31415 andy31415 merged commit b51219b into project-chip:master May 19, 2023
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request May 19, 2023
…ibe) APIs (project-chip#25956)"

This reverts commit b51219b because Android CI
has been failing ever since it merged (both smoketest and full).
@bzbarsky-apple
Copy link
Contributor

@joonhaengHeo Unfortunately, this is failing Androir CI (probably because of a bad merge against other changes?). #26704 created to revert this so we can get the tree back into a passing-CI state.

bzbarsky-apple added a commit that referenced this pull request May 20, 2023
…ibe) APIs (#25956)" (#26704)

This reverts commit b51219b because Android CI
has been failing ever since it merged (both smoketest and full).
joonhaengHeo added a commit to joonhaengHeo/connectedhomeip that referenced this pull request May 22, 2023
andy31415 pushed a commit that referenced this pull request May 23, 2023
…s - reupload (#26710)

* Revert "Revert "[Android] Implement using generic IM(invoke,read,write,subscribe) APIs (#25956)" (#26704)"

This reverts commit bfa0580.

* Implement android generic im
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Use generic IM(invoke,read,write,subscribe) APIs in android chip-tool
4 participants