Generic netif status callback and mDNS by mcspr · Pull Request #8705 · esp8266/Arduino (original) (raw)
follow up #8676
- sprinkle IPAddress(...).isSet() across our loops to avoid polling on a stopped interface. status callback and netif_is_up does not guarantee and we could use the interface!
- register one status callback per instance, e.g. when begin() is called multiple times (also notice a subtle issue with schedule function when instance is delete'ed)
- consistent LwipIntf callback signature. no need for rvalue, just pass stdfunc as-is and let the compiler figure it out
- sprinkle IPAddress(...).isSet() across our loops to avoid polling on a stopped interface. status callback and netif_is_up does not guarantee and we could use the interface!
- register one status callback per instance, e.g. when begin() is called multiple times (also notice a subtle issue with schedule function when instance is delete'ed)
- consistent LwipIntf callback signature. no need for rvalue, just pass stdfunc as-is and let the compiler figure it out
mcspr deleted the lwip/status-cb branch
mcspr added this to the 3.1 milestone
This was linked to issues
Dec 14, 2022
hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request
- sprinkle IPAddress(...).isSet() across our loops to avoid polling on a stopped interface. status callback and netif_is_up does not guarantee and we could use the interface!
- register one status callback per instance, e.g. when begin() is called multiple times (also notice a subtle issue with schedule function when instance is delete'ed)
- consistent LwipIntf callback signature. no need for rvalue, just pass stdfunc as-is and let the compiler figure it out