mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
Added MDNS and driver support for multicast
This commit is contained in:
1 parent
b44193780e
commit
6f697db49d
31 files changed
+766
-168
No files matched your search
@@ -784,6 +784,10 @@ static bool cyw_init(uint8_t *mac) {
|
||||
MG_ERROR(("read MAC failed"));
|
||||
}
|
||||
}
|
||||
#if MG_TCPIP_MCAST
|
||||
val = 1; if (!cyw_ioctl_iovar_set2_(0, "mcast_list", (uint8_t *)&val, sizeof(val), (uint8_t *)mcast_addr, sizeof(mcast_addr))) return false;
|
||||
mg_delayms(50);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
// clang-format on
|
||||
|
||||
Reference in new issue
Block a user