I am an intern at a company and my task has been to prototype communication using multicast on the RM46L852 Hercules dev board. Some thing my program was unsure of was if multicast using lwip is supported on this board or not. So firstly, my question would be, is this supported with the hercules hardware?
If so, I have done the following to initialize multicast:
1. Enabled LWIP_IGMP in my opt.h file
2. Set the NETIF_FLAG_IGMP in netif.c after LWIP_IGMP has been checked
3. Create and bind to a UDP socket
4. Call igmp_joingroup() using the ip address of the ethernet manager and 224.0.0.3 for the multicast group ip address.
This process is successful with an error code of ERR_OK (0) from igmp_joingroup().
Are these steps correct? Should there be any other steps to this process?
I have set up breakpoints on both the transmit and receive interrupts to see if the initialization was successful, but neither of them are being triggered by a transmit message. I am testing this using Docklight scripting connecting to 224.0.0.3:30000
What other areas could be of an issue with my multicast initialization?