-
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
[1.2] Chip-tool Android Application crashed when tried to implement device to device binding #31989
Comments
Could you upload the detailed log and crash dump if possible? thanks |
@yunhanw-google |
@Dhirav-Shah It may crash here, |
hi @yunhanw-google, I've successfully developed device-to-device binding in an iOS application. I now want to be able to recognize my newly installed devices, such as "light-switch-app" or "lighting-app" in chip tool iOS application. Is there a way for us to obtain device identifying information or cluster information from the device payload? |
for supported cluster, you can get it from descriptor cluster. @Mitun90 has the above android issue resolved in your side in android? What UI are you using, are you using wilcard UI or cluster Interaction UI, how do you fill subjects:[112233]? Could you try to set without subjects? thanks |
@Dhirav-Shah are you using cluster Interaction Tool UI? |
@yunhanw-google yes. android issue now resolved and successfully bind "light-switch-app" and "lighting-app" in android mobile application. -> we used API for binding cluster. Thank you. |
@Mitun90 thanks for your reply. Just FYI, you can also use wildcard fragment UI, then for AccessControlClusterAccessControlEntryStruct, you can use json to construct the struct for it. When using API, [112233], could you also use Long for 112233 for testing. Long should work. When using Integer 112233, you will see such crash happens. |
@yunhanw-google thanks for your replies. |
Hi @yunhanw-google |
May I know the exact scenario and identify what property? Thanks |
I would close this one, feel free to recreate another issue with the scenario you wnana know about identify cluster, thanks |
Reproduction steps
I perfomed device to device binding in chip-tool android application.
For that first I used AccessControlCluster and after that I used AccessControlClusterAccessControlEntryStruct and passed the values privilege : 5 , authmode: 2, subjects:[112233] , targets: null , fabricIndex: 1 and after that passed the privilege : 3 , authmode: 2, subjects: , targets: null , fabricIndex: 1 for AccessControlClusterAccessControlEntryStruct
After that I tried to use writeAclAttribute and passed the values defaultClusterCallback and array of AccessControlClusterAccessControlEntryStruct .
But at writeAcl app got crashed everytime.
Please assist me in the same way. I would be grateful for your assistance.
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
Matter
Platform
android
Platform Version(s)
No response
Type
Core SDK Crash
Anything else?
No response
The text was updated successfully, but these errors were encountered: