ESP Matter beta release

This commit is contained in:
Hrishikesh Dhayagude
2021-08-11 17:10:40 +05:30
commit 9af0fae34e
80 changed files with 21577 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
/*
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#define APP_LOG_TAG "light"
#define DEFAULT_POWER false
#define DEFAULT_BRIGHTNESS 100
#define DEFAULT_HUE 0
#define DEFAULT_SATURATION 0
#define HUE_MAX 359
#define HUE_ATTRIBUTE_MAX 254
#define SATURATION_MAX 100
#define SATURATION_ATTRIBUTE_MAX 254
#define APP_DRIVER_SRC_LOCAL "local"
#define APP_DRIVER_SRC_MATTER "matter"
#define REMAP_TO_RANGE(value, from, to) value * to / from
#ifdef __cplusplus
}
#endif