-->
Page 1 of 3

IGMP timeout bug - UDP multicast messages being blocked?

PostPosted: Tue May 01, 2018 4:01 am
by Cicero
I'm working on the standard SDK, and seeing an issue with UDP multicast messages not being received after around 4mins, more specifically about 4:20 - 4:40sec.

I've first suspected my router, which I do think if part of the problem but not entirely the culprit after reading this thread http://doityourselfchristmas.com/forums ... 42038.html .

I'm using the espconn_igmp_join((ip_addr_t *)&host_ip,(ip_addr_t *)&multicast_ip); function, but something is not right.

Anyone discovered anything in regards to this type of problem to help me out? Unicast works like a dream, but I need to get multicast working just as well.

Re: IGMP timeout bug - UDP multicast messages being blocked?

PostPosted: Tue May 01, 2018 6:37 am
by Cicero
I'm using the open sdk, from pfalcon https://github.com/pfalcon/esp-open-sdk .

Seems like this might be related to the lwip implementation which also affected the Arduino environment way back when. https://github.com/esp8266/Arduino/issues/3498

I'm going to try this fix on my end.

Re: IGMP timeout bug - UDP multicast messages being blocked?

PostPosted: Wed Jun 06, 2018 4:19 am
by Cicero
Raised an issue on esp-open-sdk Github, I cannot get the compilation of esp-open-sdk to pull through the necessary fix from igmp.h.

Can anyone help out here? Anyone got any ideas?

https://github.com/pfalcon/esp-open-sdk/issues/323

Re: IGMP timeout bug - UDP multicast messages being blocked?

PostPosted: Wed Jun 13, 2018 10:27 am
by Cicero
Well that change didn't help. My multicast receive still cuts out after 4m40s.