lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] mDNS not receiving / responding


From: stuart200471
Subject: Re: [lwip-users] mDNS not receiving / responding
Date: Thu, 19 Sep 2019 16:18:32 -0700 (MST)

Hello jespern,
    One thing you will need to do in addition to what is configured in the
lwip stack is to adjust the multicast filtering on the ethernet MAC.
On the setup i have, this was done in a file called "stm32f2x7_eth.c"
if you don't have that file, just do a global search on your project
(includeing the stm provided files ) and look for any of the following
ETH_MulticastFramesFilter_PerfectHashTable
ETH_MulticastFramesFilter_HashTable
ETH_MulticastFramesFilter_Perfect
ETH_MulticastFramesFilter_None

you will find one of them being used to set the multicast frame filter

in my file, i changed the line from
ETH_InitStruct->ETH_MulticastFramesFilter =
ETH_MulticastFramesFilter_Perfect;
to
ETH_InitStruct->ETH_MulticastFramesFilter = ETH_MulticastFramesFilter_None;

What this basically does is open up the mac to receive all multicast
packets.
This is good for heping you to get it to work BUT you may want to adjust the
filtering later on to reduce the amount of multicast packets your mac will
be accepting
try that and see if it works 
cheers



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]