Thareeq Anwar k
Created January 15, 2024

Matter Enabled InDoor Door Lock

When seeking privacy within your home without the hassle of manually locking doors, this simple lock offers the perfect solution.

11
Matter Enabled InDoor Door Lock

Things used in this project

Story

Read more

Code

Matter Door Lock Code

C/C++
/*
 * Copyright (c) 2021 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
 */

#include "app_task.h"

#include <zephyr/logging/log.h>

LOG_MODULE_REGISTER(app, CONFIG_CHIP_APP_LOG_LEVEL);

int main()
{
	CHIP_ERROR err = AppTask::Instance().StartApp();

	LOG_ERR("Exited with code %" CHIP_ERROR_FORMAT, err.Format());
	return err == CHIP_NO_ERROR ? EXIT_SUCCESS : EXIT_FAILURE;
}

Credits

Thareeq Anwar k

Thareeq Anwar k

6 projects • 6 followers

Comments