/*\r
- * FreeRTOS+TCP V2.0.11\r
+ * FreeRTOS+TCP V2.2.0\r
* Copyright (C) 2017 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
#define ipconfigSOCK_DEFAULT_SEND_BLOCK_TIME portMAX_DELAY\r
#endif\r
\r
+\r
+#ifndef ipconfigDNS_RECEIVE_BLOCK_TIME_TICKS\r
+ #define ipconfigDNS_RECEIVE_BLOCK_TIME_TICKS pdMS_TO_TICKS( 500u )\r
+#endif\r
+\r
+#ifndef ipconfigDNS_SEND_BLOCK_TIME_TICKS\r
+ #define ipconfigDNS_SEND_BLOCK_TIME_TICKS pdMS_TO_TICKS( 500u )\r
+#endif\r
/*\r
* FreeRTOS debug logging routine (proposal)\r
* The macro will be called in the printf() style. Users can define\r
#endif /* _WINDOWS_ */\r
#endif /* ipconfigMAXIMUM_DISCOVER_TX_PERIOD */\r
\r
+#if( ipconfigUSE_DNS == 0 )\r
+ /* The DNS module will not be included. */\r
+ #if( ( ipconfigUSE_LLMNR != 0 ) || ( ipconfigUSE_NBNS != 0 ) )\r
+ /* LLMNR and NBNS depend on DNS because those protocols share a lot of code. */\r
+ #error When either LLMNR or NBNS is used, ipconfigUSE_DNS must be defined\r
+ #endif\r
+#endif\r
+\r
#ifndef ipconfigUSE_DNS\r
#define ipconfigUSE_DNS 1\r
#endif\r
#define ipconfigUSE_LLMNR ( 0 )\r
#endif\r
\r
-#if( !defined( ipconfigUSE_DNS ) )\r
- #if( ( ipconfigUSE_LLMNR != 0 ) || ( ipconfigUSE_NBNS != 0 ) )\r
- /* LLMNR and NBNS depend on DNS because those protocols share a lot of code. */\r
- #error When either LLMNR or NBNS is used, ipconfigUSE_DNS must be defined\r
- #endif\r
-#endif\r
-\r
#ifndef ipconfigREPLY_TO_INCOMING_PINGS\r
#define ipconfigREPLY_TO_INCOMING_PINGS 1\r
#endif\r