]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Source/FreeRTOS-Plus-IoT-SDK/c_sdk/standard/mqtt/include/iot_mqtt_config_defaults.h
Rename \FreeRTOS-Plus\Source\FreeRTOS-Plus-IoT-SDK to \FreeRTOS-Plus\Source\FreeRTOS...
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-IoT-SDK / c_sdk / standard / mqtt / include / iot_mqtt_config_defaults.h
diff --git a/FreeRTOS-Plus/Source/FreeRTOS-Plus-IoT-SDK/c_sdk/standard/mqtt/include/iot_mqtt_config_defaults.h b/FreeRTOS-Plus/Source/FreeRTOS-Plus-IoT-SDK/c_sdk/standard/mqtt/include/iot_mqtt_config_defaults.h
deleted file mode 100644 (file)
index 08bcd41..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-/*\r
- * Amazon FreeRTOS MQTT V2.0.0\r
- * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
- *\r
- * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
- * this software and associated documentation files (the "Software"), to deal in\r
- * the Software without restriction, including without limitation the rights to\r
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
- * the Software, and to permit persons to whom the Software is furnished to do so,\r
- * subject to the following conditions:\r
- *\r
- * The above copyright notice and this permission notice shall be included in all\r
- * copies or substantial portions of the Software.\r
- *\r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
- *\r
- * http://aws.amazon.com/freertos\r
- * http://www.FreeRTOS.org\r
- */\r
-\r
-/**\r
- * @file iot_mqtt_config_defaults.h\r
- * @brief MQTT default config options.\r
- *\r
- * Ensures that the config options for MQTT are set to sensible default\r
- * values if the user does not provide one.\r
- */\r
-\r
-#ifndef _AWS_MQTT_CONFIG_DEFAULTS_H_\r
-#define _AWS_MQTT_CONFIG_DEFAULTS_H_\r
-\r
-/**\r
- * @brief Enable subscription management.\r
- *\r
- * Subscription management allows the user to register per subscription\r
- * callback.\r
- */\r
-#ifndef mqttconfigENABLE_SUBSCRIPTION_MANAGEMENT\r
-    #define mqttconfigENABLE_SUBSCRIPTION_MANAGEMENT    ( 1 )\r
-#endif\r
-\r
-/**\r
- * @brief Maximum length of the topic which can be stored in subscription\r
- * manager.\r
- *\r
- * If the user has enabled subscription management (by defining the macro\r
- * mqttconfigENABLE_SUBSCRIPTION_MANAGEMENT to 1), then this macro must be defined\r
- * to accommodate the maximum length topic which the user is going to subscribe.\r
- * The subscribe operation will fail if the user tries to subscribe to a topic\r
- * of length more than the maximum specified here.\r
- */\r
-#ifndef mqttconfigSUBSCRIPTION_MANAGER_MAX_TOPIC_LENGTH\r
-    #define mqttconfigSUBSCRIPTION_MANAGER_MAX_TOPIC_LENGTH    ( 128 )\r
-#endif\r
-\r
-/**\r
- * @brief Maximum number of subscriptions which can be stored in subscription\r
- * manager.\r
- *\r
- * If the user has enabled subscription management (by defining the macro\r
- * mqttconfigENABLE_SUBSCRIPTION_MANAGEMENT to 1), then this macro must be defined\r
- * to the maximum number of topics which the user is going to subscribe\r
- * simultaneously. The subscribe operation will fail is the user tries to\r
- * subscribe to more topics than the maximum specified here.\r
- */\r
-#ifndef mqttconfigSUBSCRIPTION_MANAGER_MAX_SUBSCRIPTIONS\r
-    #define mqttconfigSUBSCRIPTION_MANAGER_MAX_SUBSCRIPTIONS    ( 8 )\r
-#endif\r
-\r
-/**\r
- * @brief Define mqttconfigASSERT to enable asserts.\r
- *\r
- * mqttconfigASSERT should be defined to match the semantics of standard\r
- * C assert() macro i.e. an assertion should trigger if the parameter\r
- * passed is zero. If the standard C assert is available, the user might\r
- * do the following:\r
- * @code\r
- * #define mqttconfigASSERT( x ) assert( x )\r
- * @endcode\r
- *\r
- * Otherwise, a user can choose to implement a function which should be\r
- * called when an assertion triggers and then define the mqttconfigASSERT\r
- * to that function:\r
- * @code\r
- * extern void vAssertCalled( const char *pcFile, uint32_t ulLine );\r
- * #define mqttconfigASSERT( x ) if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ )\r
- * @endcode\r
- */\r
-#ifndef mqttconfigASSERT\r
-    #define mqttconfigASSERT( x )\r
-#endif\r
-\r
-/**\r
- * @brief Define mqttconfigENABLE_DEBUG_LOGS macro to 1 for enabling debug logs.\r
- *\r
- * If you choose to enable debug logs, the following function must be implemented\r
- * which is called to print logs:\r
- * @code\r
- * void vLoggingPrintf( const char *pcFormatString, ... );\r
- * @endcode\r
- */\r
-#if ( mqttconfigENABLE_DEBUG_LOGS == 1 )\r
-    extern void vLoggingPrintf( const char * pcFormatString,\r
-                                ... );\r
-    #define mqttconfigDEBUG_LOG( x )    vLoggingPrintf x\r
-#else\r
-    #define mqttconfigDEBUG_LOG( x )\r
-#endif\r
-\r
-#endif /* _AWS_MQTT_CONFIG_DEFAULTS_H_ */\r