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
Issue : Thread Border Router Management Cluster read attribute or invoke command not working with chip libraries.
Background :
I have taken reference from this app and added matter support in an android app.
But to support some custom clusters, I needed to compile connectedhomeip repo and generate chip libraries.
Taken connectedhomeip repo on commit id : 3c6bed3bb28f66cc2e1ebbe3561fa0838f6b7c51
Made changes for custom clusters. Build CHIP libraries for all 4 target_cpu types.
./scripts/build/build_examples.py
--target android-arm-chip-tool
--target android-arm64-chip-tool
--target android-x86-chip-tool
--target android-x64-chip-tool
build
Replace libCHIPController.so files in jnilibs folder (Note : jnilibs available in this project before matter demo sdk was introduced)
Build and run app with the CHIP libraries which has custom cluster support. This is working fine.
Current scenario :
Now, I want Thread Border router management cluster in app. With above libraries read attribute or invoke command is not working.
This cluster was added in this PR and the commit id which I have taken earlier was older than this, so I need to upgrade CHIP libraries.
Taken latest release of v1.4.0.0
Build CHIP libraries for all 4 target_cpu types.
Replace libCHIPController.so files in jnilibs folder.
Build and run app with the latest CHIP libraries.
But seems it has breaking changes. Not able to create session with matter device and fetch matter device info.
Facing multiple errors
methodId is null : getSkipAttestationCertificateValidation, ()Z
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: no non-static method "Lchip/devicecontroller/ChipDeviceControllerException;.<init>(JLjava/lang/String;)V"
Here are my queries :
How to get new standard clusters support in app ? Is there anyway to get it without updating chip libraries ?
With older chip libraries which are working, I tried to read attributes value for new Thread Border router management cluster but it is not working.
To upgrade CHIP libraries in android app, what steps need to be done ? I mean after following all steps of custom cluster support and generating libraries, I am replacing libCHIPController.so files. Is this enough or do I need to update any other files ?
Found this documentation for custom cluster , but didn't find any documentation or steps for Android app to replace CHIP libraries to support custom cluster in app etc.
Also tried to read attribute with "Matter Android Demo SDK", but didn't get success. Is there any plan to update "Matter Android Demo SDK" with new version ?
The text was updated successfully, but these errors were encountered:
Issue : Thread Border Router Management Cluster read attribute or invoke command not working with chip libraries.
Background :
I have taken reference from this app and added matter support in an android app.
But to support some custom clusters, I needed to compile connectedhomeip repo and generate chip libraries.
Taken connectedhomeip repo on commit id : 3c6bed3bb28f66cc2e1ebbe3561fa0838f6b7c51
Made changes for custom clusters. Build CHIP libraries for all 4 target_cpu types.
./scripts/build/build_examples.py
--target android-arm-chip-tool
--target android-arm64-chip-tool
--target android-x86-chip-tool
--target android-x64-chip-tool
build
Replace libCHIPController.so files in jnilibs folder (Note : jnilibs available in this project before matter demo sdk was introduced)
Build and run app with the CHIP libraries which has custom cluster support. This is working fine.
Current scenario :
Now, I want Thread Border router management cluster in app. With above libraries read attribute or invoke command is not working.
This cluster was added in this PR and the commit id which I have taken earlier was older than this, so I need to upgrade CHIP libraries.
Taken latest release of v1.4.0.0
Build CHIP libraries for all 4 target_cpu types.
Replace libCHIPController.so files in jnilibs folder.
Build and run app with the latest CHIP libraries.
But seems it has breaking changes. Not able to create session with matter device and fetch matter device info.
Facing multiple errors
Here are my queries :
With older chip libraries which are working, I tried to read attributes value for new Thread Border router management cluster but it is not working.
Found this documentation for custom cluster , but didn't find any documentation or steps for Android app to replace CHIP libraries to support custom cluster in app etc.
The text was updated successfully, but these errors were encountered: