// Copyright 2020 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #pragma once #ifdef __cplusplus extern "C" { #endif /********** STANDARD UI TYPES **********/ #define ESP_RMAKER_UI_TOGGLE "esp.ui.toggle" #define ESP_RMAKER_UI_SLIDER "esp.ui.slider" #define ESP_RMAKER_UI_DROPDOWN "esp.ui.dropdown" #define ESP_RMAKER_UI_TEXT "esp.ui.text" /********** STANDARD PARAM TYPES **********/ #define ESP_RMAKER_PARAM_NAME "esp.param.name" #define ESP_RMAKER_PARAM_POWER "esp.param.power" #define ESP_RMAKER_PARAM_BRIGHTNESS "esp.param.brightness" #define ESP_RMAKER_PARAM_HUE "esp.param.hue" #define ESP_RMAKER_PARAM_SATURATION "esp.param.saturation" #define ESP_RMAKER_PARAM_INTENSITY "esp.param.intensity" #define ESP_RMAKER_PARAM_CCT "esp.param.cct" #define ESP_RMAKER_PARAM_SPEED "esp.param.speed" #define ESP_RMAKER_PARAM_DIRECTION "esp.param.direction" #define ESP_RMAKER_PARAM_TEMPERATURE "esp.param.temperature" #define ESP_RMAKER_PARAM_OTA_STATUS "esp.param.ota_status" #define ESP_RMAKER_PARAM_OTA_INFO "esp.param.ota_info" #define ESP_RMAKER_PARAM_OTA_URL "esp.param.ota_url" #define ESP_RMAKER_PARAM_TIMEZONE "esp.param.tz" #define ESP_RMAKER_PARAM_TIMEZONE_POSIX "esp.param.tz_posix" #define ESP_RMAKER_PARAM_SCHEDULES "esp.param.schedules" /********** STANDARD DEVICE TYPES **********/ #define ESP_RMAKER_DEVICE_SWITCH "esp.device.switch" #define ESP_RMAKER_DEVICE_LIGHTBULB "esp.device.lightbulb" #define ESP_RMAKER_DEVICE_FAN "esp.device.fan" #define ESP_RMAKER_DEVICE_TEMP_SENSOR "esp.device.temperature-sensor" /********** STANDARD SERVICE TYPES **********/ #define ESP_RMAKER_SERVICE_OTA "esp.service.ota" #define ESP_RMAKER_SERVICE_TIME "esp.service.time" #define ESP_RMAKER_SERVICE_SCHEDULE "esp.service.schedule" #ifdef __cplusplus } #endif