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
[Android] Support FabricFilter to ChipClusters API (#28208)
* [Android] Support FabricFilter to ChipClusters API
This change adds a version that allows users to set FabricFilter options
to APIs that read Attribute, which is Fabric-Scoped List. For example,
- OperationalCredentialsCluster.readFabricsAttribute
- OperationalCredentialsCluster.readFabricsAttributeWithFabricFilter
In the existing API, FabricFilter was hard-coded with true value. So,
there was no way to read all fabric information of the attribute on the
PASE Session before the Android commissioner completed commissioning of
the device.
New API provides a FabricFilter parameter. So, before the Android
commissioner completes device commissioning, all fabric information of
the corresponding attribute can be read based on PASE Session.
Signed-off-by: Youngho Yoon <34558998+yhoyoon@users.noreply.github.com>
* Fix unit test errors
Signed-off-by: Youngho Yoon <34558998+yhoyoon@users.noreply.github.com>
* Fix the templates to not add extra whitespace
Signed-off-by: Youngho Yoon <34558998+yhoyoon@users.noreply.github.com>
* Restore empty line of end of file
Signed-off-by: Youngho Yoon <34558998+yhoyoon@users.noreply.github.com>
* Add unit test for FabricFilter
Signed-off-by: Youngho Yoon <34558998+yhoyoon@users.noreply.github.com>
* Remove new apis in ClusterReadMapping
Signed-off-by: Youngho Yoon <34558998+yhoyoon@users.noreply.github.com>
---------
Signed-off-by: Youngho Yoon <34558998+yhoyoon@users.noreply.github.com>
auto successFn = chip::Callback::Callback<CHIP{{cluster.name|capitalcase}}Cluster{{attr.definition.name|capitalcase}}AttributeCallbackType>::FromCancelable(onSuccess->Cancel());
46
46
auto failureFn = chip::Callback::Callback<CHIPDefaultFailureCallbackType>::FromCancelable(onFailure->Cancel());
0 commit comments