mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user