Refactor MIP strategy and first driver (CMSIS)

This commit is contained in:
Sergio R. Caprile committed 2025-04-22 12:55:21 -03:00
1 parent 6f697db49d
commit dceb4beb09
11 files changed
+108 -108

No files matched your search

+5 -4
View File
@@ -784,10 +784,6 @@ 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
@@ -1188,4 +1184,9 @@ bool mg_wifi_ap_stop(void) {
return cyw_wifi_ap_stop();
}
void mg_tcpip_driver_multicast_add(const uint8_t mcast_addr) {
val = 1; cyw_ioctl_iovar_set2_(0, "mcast_list", (uint8_t *)&val, sizeof(val), (uint8_t *)mcast_addr, sizeof(mcast_addr));
//mg_delayms(50);
}
#endif