@@ -550,17 +550,6 @@ static esp_err_t esp_matter_command_callback_stop_with_on_off(const ConcreteComm
550550 return ESP_OK;
551551}
552552
553- static esp_err_t esp_matter_command_callback_move_to_closest_frequency (const ConcreteCommandPath &command_path,
554- TLVReader &tlv_data, void *opaque_ptr)
555- {
556- chip::app::Clusters::LevelControl::Commands::MoveToClosestFrequency::DecodableType command_data;
557- CHIP_ERROR error = Decode (tlv_data, command_data);
558- if (error == CHIP_NO_ERROR) {
559- emberAfLevelControlClusterMoveToClosestFrequencyCallback ((CommandHandler *)opaque_ptr, command_path, command_data);
560- }
561- return ESP_OK;
562- }
563-
564553static esp_err_t esp_matter_command_callback_move_to_hue (const ConcreteCommandPath &command_path, TLVReader &tlv_data,
565554 void *opaque_ptr)
566555{
@@ -1360,6 +1349,7 @@ static esp_err_t esp_matter_command_callback_disable_action_with_duration(const
13601349 return ESP_OK;
13611350}
13621351
1352+ #if CHIP_CONFIG_USE_ACCESS_RESTRICTIONS
13631353static esp_err_t esp_matter_command_callback_review_fabric_restrictions (const ConcreteCommandPath &command_path, TLVReader &tlv_data, void *opaque_ptr)
13641354{
13651355 chip::app::Clusters::AccessControl::Commands::ReviewFabricRestrictions::DecodableType command_data;
@@ -1369,16 +1359,7 @@ static esp_err_t esp_matter_command_callback_review_fabric_restrictions(const Co
13691359 }
13701360 return ESP_OK;
13711361}
1372-
1373- static esp_err_t esp_matter_command_callback_keep_active (const ConcreteCommandPath &command_path, TLVReader &tlv_data, void *opaque_ptr)
1374- {
1375- chip::app::Clusters::BridgedDeviceBasicInformation::Commands::KeepActive::DecodableType command_data;
1376- CHIP_ERROR error = Decode (tlv_data, command_data);
1377- if (error == CHIP_NO_ERROR) {
1378- emberAfBridgedDeviceBasicInformationClusterKeepActiveCallback ((CommandHandler *)opaque_ptr, command_path, command_data);
1379- }
1380- return ESP_OK;
1381- }
1362+ #endif // CHIP_CONFIG_USE_ACCESS_RESTRICTIONS
13821363
13831364static esp_err_t esp_matter_command_callback_send_key (const ConcreteCommandPath &command_path, TLVReader &tlv_data, void *opaque_ptr)
13841365{
0 commit comments