You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use zcl_clusters to loop over clusters for controller_clusters.zap (#26617)
* split out client cluster generation for IDL client and server
* Update to use client-side codegen and correct loop definition for matter_idl_client
* make generation work
* Fix typo
* Update spacing to match what we had before
* Ran zap_regen_all
* regen all again ... to get java changes
* Regen java files for devicecontroller
* update dependencies in chip_codegen.cmake
* Application templates do not actually depend on IDL anymore - IDL codegen is separate
* Fix up the expected java output files
* Update java to not use CHIPClusters and only use ClusterBase
* Move callbacks to zcl_clusters as well
* remove conditional from callbacks src
* Switch one more file to use zcl_clusters
* Switch to zcl_clusters for a LOT of java templates
* unit test update
---------
Co-authored-by: Andrei Litvin <[email protected]>
VerifyOrReturn(cppCluster != nullptr, chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE));
44
44
45
45
auto successFn = chip::Callback::Callback<CHIP{{cluster.name|capitalcase}}Cluster{{attr.definition.name|capitalcase}}AttributeCallbackType>::FromCancelable(onSuccess->Cancel());
Copy file name to clipboardExpand all lines: scripts/py_matter_idl/matter_idl/tests/outputs/cluster_struct_attribute/jni/DemoClusterClient-InvokeSubscribeImpl.cpp
Copy file name to clipboardExpand all lines: scripts/py_matter_idl/matter_idl/tests/outputs/cluster_struct_attribute/jni/DemoClusterClient-ReadImpl.cpp
Copy file name to clipboardExpand all lines: scripts/py_matter_idl/matter_idl/tests/outputs/global_struct_attribute/jni/DemoClusterClient-InvokeSubscribeImpl.cpp
Copy file name to clipboardExpand all lines: scripts/py_matter_idl/matter_idl/tests/outputs/optional_argument/jni/MyClusterClient-InvokeSubscribeImpl.cpp
0 commit comments