Browse Source

Raise unixsim resources for mqtt

master
Dirk Ziegelmeier 8 years ago
parent
commit
c554f7cdb7
  1. 12
      ports/unix/unixsim/lwipopts.h

12
ports/unix/unixsim/lwipopts.h

@ -107,13 +107,13 @@ a lot of data that needs to be copied, this should be set high. */
#define MEMP_NUM_RAW_PCB 3
/* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One
per active UDP "connection". */
#define MEMP_NUM_UDP_PCB 6
#define MEMP_NUM_UDP_PCB 7
/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP
connections. */
#define MEMP_NUM_TCP_PCB 5
#define MEMP_NUM_TCP_PCB 6
/* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP
connections. */
#define MEMP_NUM_TCP_PCB_LISTEN 8
#define MEMP_NUM_TCP_PCB_LISTEN 9
/* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP
segments. */
#define MEMP_NUM_TCP_SEG 16
@ -126,7 +126,7 @@ a lot of data that needs to be copied, this should be set high. */
/* MEMP_NUM_NETBUF: the number of struct netbufs. */
#define MEMP_NUM_NETBUF 2
/* MEMP_NUM_NETCONN: the number of struct netconns. */
#define MEMP_NUM_NETCONN 10
#define MEMP_NUM_NETCONN 11
/* MEMP_NUM_TCPIP_MSG_*: the number of struct tcpip_msg, which is used
for sequential API communication and incoming packets. Used in
src/api/tcpip.c. */
@ -224,7 +224,7 @@ a lot of data that needs to be copied, this should be set high. */
/* ---------- DHCP options ---------- */
/* Define LWIP_DHCP to 1 if you want DHCP configuration of
interfaces. */
#define LWIP_DHCP 0
#define LWIP_DHCP 1
#define LWIP_DHCP_GET_NTP_SRV (LWIP_DHCP)
@ -241,7 +241,7 @@ a lot of data that needs to be copied, this should be set high. */
extern void sntp_set_system_time(u32_t sec);
#define SNTP_SET_SYSTEM_TIME(s) sntp_set_system_time(s)
/* ---------- SNMP options ---------- */
/* ---------- MQTT options ---------- */
#define LWIP_MQTT 1
/* ---------- SNMP options ---------- */

Loading…
Cancel
Save