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

Any plan to support the Multicast mode ? #34

Open
kcs-govindtank opened this issue Sep 13, 2024 · 2 comments
Open

Any plan to support the Multicast mode ? #34

kcs-govindtank opened this issue Sep 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@kcs-govindtank
Copy link

@abobija Awesome library, works smoothly, but I have requirement to have multicast mode, so can you please cofirm if there is any plan ahead to support Multicast ?

@abobija
Copy link
Owner

abobija commented Sep 13, 2024

hi @kcs-govindtank
Thank you for your comment and interest in this library. I will try to implement it when I have some free time. If you figure it out earlier, you can open a PR.

@abobija abobija added the enhancement New feature or request label Sep 13, 2024
@casterock
Copy link

Hi guys, want to help here.
It should be simple as changing the socket of the provisioner from broadcast to multicast?
I tried but I get some permission errors

Analysing Esptouch app for android I understand that for multicast support we should send data to differents IP, like this function:
public String getTargetHostname() {
if (mBroadcast) {
return "255.255.255.255";
} else {
int count = __getNextDatagramCount();
return "234." + count + "." + count + "." + count;
}
}

@abobija if you know what to do I can start coding for you

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

No branches or pull requests

3 participants