This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129ENCPDT: IGMP with LWIP

Part Number: TM4C129ENCPDT

Hi,

I'm running the LWIP in the raw mode on the launchpad. TCP and UDP are running, but now I need to enable IGMP.

I added in lwipopts.h

#define LWIP_IGMP 1
#define LWIP_RAND  rand

in tivaif_hwinit(struct netif *psNetif)

#if LWIP_IGMP
  psNetif->flags |= NETIF_FLAG_IGMP;
#endif

I'm not further til now, but I'm a bit confused, as I see  "Device capabilities " in this function with only

  psNetif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP;

I don't think, this is a problem (?), anyway I'm a bit curious, if I miss something before I start debugging.

Also I found, the prototypes

static void   igmp_start_timer(struct igmp_group *group, u8_t max_time);
static void   igmp_delaying_member(struct igmp_group *group, u8_t maxresp);

Don't fit to the defines:

/* IGMP timer */
#define IGMP_TMR_INTERVAL             1 /* Milliseconds */
#define IGMP_V1_DELAYING_MEMBER_TMR   (1000/IGMP_TMR_INTERVAL)
#define IGMP_JOIN_DELAYING_MEMBER_TMR (500 /IGMP_TMR_INTERVAL)

So: Has anyone already made this running?

Any help or link is welcome

Regards

Michael