The DNS cache entry size was not big enough to fit the DNS name and
as a result the DNS reply parsing code returned error. Increased the
size of the entry to ensure that the DNS name can fit in.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2692
1d2547de-c912-0410-9cb9-
b8ca96c0e9e2
\r
/* Inform the demo task about the message received from the MQTT broker. */\r
xTaskNotify( xDemoTaskHandle,\r
- mqttexampleMESSAGE_RECEIVED_BIT,\r
- eSetBits /* Set the mqttexampleMESSAGE_RECEIVED_BIT in the demo task's notification value. */\r
+ mqttexampleMESSAGE_RECEIVED_BIT,\r
+ eSetBits /* Set the mqttexampleMESSAGE_RECEIVED_BIT in the demo task's notification value. */\r
);\r
}\r
/*-----------------------------------------------------------*/\r
call to FreeRTOS_gethostbyname() will return immediately, without even creating\r
a socket. */\r
#define ipconfigUSE_DNS_CACHE ( 1 )\r
-#define ipconfigDNS_CACHE_NAME_LENGTH ( 16 )\r
+#define ipconfigDNS_CACHE_NAME_LENGTH ( 32 )\r
#define ipconfigDNS_CACHE_ENTRIES ( 4 )\r
#define ipconfigDNS_REQUEST_ATTEMPTS ( 2 )\r
\r