-
Notifications
You must be signed in to change notification settings - Fork 176
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
Set a Custom IPK in esp_matter_controller_client (CON-1551) #1280
Comments
I think you can call the |
|
You can use |
@crivi30 Please close this if your question is answered |
Hello everyone!
I need to use a custom IPK instead of the default one in the
matter_controller_client
after callingsetup_commissioner()
. However, the current implementation sets the default IPK insidesetup_commissioner()
, and there is no direct way to override it with a custom value.Steps to Reproduce
setup_commissioner()
frommatter_controller_client
.chip::ByteSpan default_ipk = chip::GroupTesting::DefaultIpkValue::GetDefaultIpk(); ESP_RETURN_ON_FALSE(chip::Credentials::SetSingleIpkEpochKey(group_data_provider, fabric_index, default_ipk, compressed_fabric_id_span) == CHIP_NO_ERROR, ESP_FAIL, TAG, "Failed to set ipk for commissioner fabric");
There is no mechanism to pass a custom IPK instead of the default one.
Is there any existing way to set a custom IPK after calling
setup_commissioner()
?If not, would modifying
setup_commissioner()
to accept a custom IPK be the best approach?Thanks in advance
The text was updated successfully, but these errors were encountered: