-
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
Add emberAf functions definition for the new network commissioning cluster #15189
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -468,3 +468,47 @@ void Instance::OnCommissioningComplete(CHIP_ERROR err) | |
} // namespace Clusters | ||
} // namespace app | ||
} // namespace chip | ||
|
||
bool emberAfNetworkCommissioningClusterAddOrUpdateThreadNetworkCallback( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't we do something to not generate calls to these at all, since it's a waste of codesize? Followup needed for that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree, but now there are still platforms which don't have full network commissioning driver support, and they need these functions. We could remove the generate calls after all the platforms add the updated network commissioning driver and the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That is why I said "followup needed". |
||
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, | ||
const chip::app::Clusters::NetworkCommissioning::Commands::AddOrUpdateThreadNetwork::DecodableType & commandData) | ||
{ | ||
return false; | ||
} | ||
|
||
bool emberAfNetworkCommissioningClusterAddOrUpdateWiFiNetworkCallback( | ||
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, | ||
const chip::app::Clusters::NetworkCommissioning::Commands::AddOrUpdateWiFiNetwork::DecodableType & commandData) | ||
{ | ||
return false; | ||
} | ||
|
||
bool emberAfNetworkCommissioningClusterConnectNetworkCallback( | ||
chip::app::CommandHandler * commandObj, const chip ::app::ConcreteCommandPath & commandPath, | ||
const chip::app::Clusters::NetworkCommissioning::Commands::ConnectNetwork::DecodableType & commandData) | ||
{ | ||
return false; | ||
} | ||
|
||
bool emberAfNetworkCommissioningClusterRemoveNetworkCallback( | ||
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, | ||
const chip::app::Clusters::NetworkCommissioning::Commands::RemoveNetwork::DecodableType & commandData) | ||
{ | ||
return false; | ||
} | ||
|
||
bool emberAfNetworkCommissioningClusterScanNetworksCallback( | ||
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, | ||
const chip::app::Clusters::NetworkCommissioning::Commands::ScanNetworks::DecodableType & commandData) | ||
{ | ||
return false; | ||
} | ||
|
||
bool emberAfNetworkCommissioningClusterReorderNetworkCallback( | ||
chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, | ||
const chip::app::Clusters::NetworkCommissioning::Commands::ReorderNetwork::DecodableType & commandData) | ||
{ | ||
return false; | ||
} | ||
|
||
void MatterNetworkCommissioningPluginServerInitCallback() {} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should probably go over where the other stubs like this live. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should I move this function to callback-stub.cpp? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, these are in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit confused for the change to telink build file since other files are all under esp32 domain.