@@ -3161,6 +3161,72 @@ command_t *create_set_pending_dataset_request(cluster_t *cluster)
3161
3161
} /* command */
3162
3162
} /* thread_border_router_management */
3163
3163
3164
+ namespace wifi_network_management {
3165
+ namespace command {
3166
+
3167
+ constexpr const command_entry_t accepted_command_list[] = {
3168
+ {WiFiNetworkManagement::Commands::NetworkPassphraseRequest::Id, COMMAND_FLAG_ACCEPTED, NULL },
3169
+ };
3170
+
3171
+ constexpr const command_entry_t generated_command_list[] = {
3172
+ {WiFiNetworkManagement::Commands::NetworkPassphraseResponse::Id, COMMAND_FLAG_GENERATED, NULL },
3173
+ };
3174
+
3175
+ command_t *create_network_passphrase_request (cluster_t *cluster)
3176
+ {
3177
+ return esp_matter::command::create (cluster, WiFiNetworkManagement::Commands::NetworkPassphraseRequest::Id,
3178
+ COMMAND_FLAG_ACCEPTED, NULL );
3179
+ }
3180
+
3181
+ command_t *create_network_passphrase_response (cluster_t *cluster)
3182
+ {
3183
+ return esp_matter::command::create (cluster, WiFiNetworkManagement::Commands::NetworkPassphraseResponse::Id,
3184
+ COMMAND_FLAG_GENERATED, NULL );
3185
+ }
3186
+
3187
+ } /* command */
3188
+ } /* wifi_network_management */
3189
+
3190
+ namespace thread_network_directory {
3191
+ namespace command {
3192
+
3193
+ constexpr const command_entry_t accepted_command_list[] = {
3194
+ {ThreadNetworkDirectory::Commands::AddNetwork::Id, COMMAND_FLAG_ACCEPTED, NULL },
3195
+ {ThreadNetworkDirectory::Commands::RemoveNetwork::Id, COMMAND_FLAG_ACCEPTED, NULL },
3196
+ {ThreadNetworkDirectory::Commands::GetOperationalDataset::Id, COMMAND_FLAG_ACCEPTED, NULL },
3197
+ };
3198
+
3199
+ constexpr const command_entry_t generated_command_list[] = {
3200
+ {ThreadNetworkDirectory::Commands::OperationalDatasetResponse::Id, COMMAND_FLAG_GENERATED, NULL },
3201
+ };
3202
+
3203
+ command_t *create_add_network (cluster_t *cluster)
3204
+ {
3205
+ return esp_matter::command::create (cluster, ThreadNetworkDirectory::Commands::AddNetwork::Id,
3206
+ COMMAND_FLAG_ACCEPTED, NULL );
3207
+ }
3208
+
3209
+ command_t *create_remove_network (cluster_t *cluster)
3210
+ {
3211
+ return esp_matter::command::create (cluster, ThreadNetworkDirectory::Commands::RemoveNetwork::Id,
3212
+ COMMAND_FLAG_ACCEPTED, NULL );
3213
+ }
3214
+
3215
+ command_t *create_get_operational_dataset (cluster_t *cluster)
3216
+ {
3217
+ return esp_matter::command::create (cluster, ThreadNetworkDirectory::Commands::GetOperationalDataset::Id,
3218
+ COMMAND_FLAG_ACCEPTED, NULL );
3219
+ }
3220
+
3221
+ command_t *create_operational_dataset_response (cluster_t *cluster)
3222
+ {
3223
+ return esp_matter::command::create (cluster, ThreadNetworkDirectory::Commands::OperationalDatasetResponse::Id,
3224
+ COMMAND_FLAG_GENERATED, NULL );
3225
+ }
3226
+
3227
+ } /* command */
3228
+ } /* thread_network_directory */
3229
+
3164
3230
} /* cluster */
3165
3231
} /* esp_matter */
3166
3232
@@ -3205,6 +3271,8 @@ constexpr const cluster_command_t cluster_command_table[] = {
3205
3271
{EnergyEvse::Id, GET_COMMAND_COUNT_LIST (cluster::energy_evse)},
3206
3272
{ValveConfigurationAndControl::Id, GET_COMMAND_COUNT_LIST (cluster::valve_configuration_and_control)},
3207
3273
{ThreadBorderRouterManagement::Id, GET_COMMAND_COUNT_LIST (cluster::thread_border_router_management)},
3274
+ {WiFiNetworkManagement::Id, GET_COMMAND_COUNT_LIST (cluster::wifi_network_management)},
3275
+ {ThreadNetworkDirectory::Id, GET_COMMAND_COUNT_LIST (cluster::thread_network_directory)},
3208
3276
};
3209
3277
3210
3278
#if defined(CONFIG_ESP_MATTER_ENABLE_MATTER_SERVER) && defined(CONFIG_ESP_MATTER_ENABLE_DATA_MODEL)
0 commit comments