** For Example, for IP Address 192.168.247.1, use the corresponding hex
** value 0xC0A8F701.
*/
-#define STATIC_IP_ADDRESS 1
+#define STATIC_IP_ADDRESS 0
/*****************************************************************************
** lwIP SPECIFIC DEFINITIONS - To be used by lwIP stack
/*****************************************************************************
** Platform specific locking
*****************************************************************************/
-#define SYS_LIGHTWEIGHT_PROT 1 /* critical sections */
+#define SYS_LIGHTWEIGHT_PROT 1 /* critical sections lightweight
+ * synchronisation primitives
+ */
#define NO_SYS 0
/*****************************************************************************
*****************************************************************************/
//#define MEM_USE_POOLS 1
#define MEM_ALIGNMENT 4 /* dflt 1 */
-#define MEM_SIZE (30 * 1024) /* 30K */ /* dflt 1600 */
+#define MEM_SIZE (64 * 1024) /* dflt 1600 */
#define MEMP_NUM_PBUF 48 /* dflt 16 */
#define MEMP_NUM_TCP_PCB 16 /* dflt 5 */
-#define PBUF_POOL_SIZE 96 /* dflt 16 */
+#define PBUF_POOL_SIZE 128 /* dflt 16 */
/*****************************************************************************
** IP Options
/*****************************************************************************
** DHCP Options
*****************************************************************************/
-#define LWIP_DHCP 0
+#define LWIP_DHCP 1
#define DHCP_DOES_ARP_CHECK 0
/*****************************************************************************
/*****************************************************************************
** TCP Options
*****************************************************************************/
-#define TCP_WND 4096 /* default is 2048 */
-#define TCP_MSS 1500 /* default is 128 */
+#define TCP_MSS 512 /* default is 128 */ /* Maximum Segment Size */
+#define TCP_WND (TCP_MSS * 4) /* default is 2048 */ /* Window size */
#define TCP_SND_BUF (4 * TCP_MSS)
/*****************************************************************************