** CONFIGURATIONS
*****************************************************************************/
/*
-** If Static IP address to be used, give it here. This value shall be 0 if
-** dynamic IP address is to be used.
-** For Example, for IP Address 192.168.247.1, use the corresponding hex
-** value 0xC0A8F701.
+** If Static IP address to be used, give here 1. IP address is used from RPP_IP_ADDR
+** in eth.h file. This value shall be 0 if dynamic IP address is to be used.
+**
*/
#define STATIC_IP_ADDRESS 1
/*****************************************************************************
** 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)
/*****************************************************************************
/*****************************************************************************
** Socket Options
*****************************************************************************/
-#define LWIP_SOCKET 0 /* default is 1 */
+#define LWIP_SOCKET 1 /* default is 1 */
#define LWIP_SO_RCVTIMEO 1 /* enable receive timeout; default is 0 */