-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added multicast udp, added callback for interrupt data arrival #7
Conversation
Implemented begin multicast for receiving multicast udp. Added ability to add a callback from the interrupt when udp receive data. (Usefull with FreeRTOS. ``` void EthernetUDP::onDataArrival( std::function<void()> onDataArrival_fn){ _udp.onDataArrival = onDataArrival_fn; } ```
Thanks @straccio |
The example here, i don't have the board with me, in order to try this code.
|
I've submitted #8 to avoid LwIP option file core dependency. |
Unsure it is related but I managed with a couple of fixes to use ArduinoMDNS library on Nucleo-f767zi with this: stm32duino/Arduino_Core_STM32#401 (Under review) |
@rzr did you test this PR? |
mine yes, not yours ;) how to reproduce ? |
This is not my PR ;) |
well I did use @arduino library it seems to work with my sample code, I can eventually commit a simpler example, meanwhile there are a couple of hints at bottom of: |
So if I well understood, this PR is not required for multicast if using third part library. |
This PR is for multicast, in listening,by subscribing to the IGMP group. |
For the record this change: is released in: Sorry for confusion... |
Well, I did not have time to investigate this, yet. |
Implemented begin multicast for receiving multicast udp.
Added ability to add a callback from the interrupt when udp receive data. (Usefull with FreeRTOS.
Prereq: stm32duino/Arduino_Core_STM32#198