Merge branch 'add_calling_for_doorlock_cluster_init' into 'main'

Doorlock: Add calling for emberAfDoorLockClusterInitCallback function

See merge request app-frameworks/esp-matter!1343
This commit is contained in:
Shu Chen
2026-01-03 04:05:42 +00:00
3 changed files with 9 additions and 11 deletions
@@ -218,6 +218,13 @@ void diagnostic_init()
}
#endif // CONFIG_ENABLE_ESP_DIAGNOSTICS_TRACE
#ifdef CONFIG_SUPPORT_DOOR_LOCK_CLUSTER
void emberAfDoorLockClusterInitCallback(chip::EndpointId endpoint)
{
ESP_LOGI(TAG, "Door Lock App: Init Callback endpoint=%d", endpoint);
}
#endif // CONFIG_SUPPORT_DOOR_LOCK_CLUSTER
extern "C" void app_main()
{
esp_err_t err = ESP_OK;
@@ -8,18 +8,8 @@
#include <esp_log.h>
#include "door_lock_manager.h"
#include <app/clusters/door-lock-server/door-lock-server.h>
#include <platform/CHIPDeviceLayer.h>
#include <app-common/zap-generated/ids/Attributes.h>
#include <app-common/zap-generated/ids/Clusters.h>
#include <app/ConcreteAttributePath.h>
#include <app/data-model/Nullable.h>
#include <lib/core/DataModelTypes.h>
using namespace chip::app::Clusters;
using chip::app::DataModel::Nullable;
static const char *TAG = "doorlock_callback";
void door_lock_init()