/*
 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

/* This file contains configuration settings for the demos. */

#ifndef IOT_CONFIG_H_
#define IOT_CONFIG_H_

/* Library logging configuration. IOT_LOG_LEVEL_GLOBAL provides a global log
 * level for all libraries; the library-specific settings override the global
 * setting. If both the library-specific and global settings are undefined,
 * no logs will be printed. */

#define IOT_LOG_LEVEL_GLOBAL          IOT_LOG_INFO
#define IOT_LOG_LEVEL_MAIN            IOT_LOG_INFO
#define IOT_LOG_LEVEL_DEMO            IOT_LOG_INFO
#define IOT_LOG_LEVEL_PLATFORM        IOT_LOG_NONE
#define IOT_LOG_LEVEL_NETWORK         IOT_LOG_INFO
#define IOT_LOG_LEVEL_CELLULAR_LIB    IOT_LOG_NONE
#define IOT_LOG_LEVEL_PKTIO           IOT_LOG_NONE
#define IOT_LOG_LEVEL_NCE_SDK         IOT_LOG_INFO
#define IOT_LOG_LEVEL_COAP            IOT_LOG_INFO
#define IOT_LOG_LEVEL_LwM2M           IOT_LOG_INFO
#define IOT_LOG_LEVEL_TASKPOOL        IOT_LOG_NONE


/* Platform thread stack size and priority. */
#define IOT_THREAD_DEFAULT_STACK_SIZE    500  /* at least for aws_tests. Otherwise, 1500? */
#define IOT_THREAD_DEFAULT_PRIORITY      5

/* Include the common configuration file for FreeRTOS. */
#include "iot_config_common.h"

#endif /* ifndef IOT_CONFIG_H_ */
