Skip to content
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

Add support for sending multicast IP packets. #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mlesniew
Copy link

This commit extends the library to enable the transmission of multicast IP packets.

Multicast packets differ from unicast packets only in their destination IP address. The only missing part in the library to support multicast was the calculation of destination MAC addresses. Unlike unicast, there's no need for ARP protocol to find the destination MAC address; it can be derived directly from the destination IP address. This commit adds the missing code for that.

This commit extends the library to enable the transmission of multicast
IP packets.

Multicast packets differ from unicast packets only in their destination
IP address. The only missing part in the library to support multicast
was the calculation of destination MAC addresses.  Unlike unicast, there's
no need for ARP protocol to find the destination MAC address; it can be
derived directly from the destination IP address.  This commit adds the
missing code for that.
@JAndrassy
Copy link
Member

the uIP documentation has

uIP supports broadcast packets as well as sending multicast packets

you want to add support for multicast with a change in uIP, but if sending multicast packets is not possible maybe the problem is in the Arduino wrapper part of this library.

uIP https://github.com/adamdunkels/uip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants