davids5 commented on a change in pull request #415: URL: https://github.com/apache/incubator-nuttx-apps/pull/415#discussion_r498690550
########## File path: netutils/netinit/Kconfig ########## @@ -87,10 +87,38 @@ config NETINIT_MONITOR required for network initialization are never released. if NETINIT_MONITOR +config NETINIT_ESTABLISH_POLL_RATE + int "The poll rate in seconds, to check for link establishment." + default 2 + depends on !ARCH_PHY_INTERRUPT && ARCH_PHY_POLLED + ---help--- + The network monitor will check the PHY link state every + NETINIT_ESTABLISH_POLL_RATE seconds for link establishment. + +config NETINIT_LOSS_POLL_RATE + int "The poll rate in seconds, to check for link loss." + default 3 + depends on !ARCH_PHY_INTERRUPT && ARCH_PHY_POLLED + ---help--- + The network monitor will check the PHY link state every + NETINIT_LOSS_POLL_RATE seconds for link loss. + +config NETINIT_FALLBACK + int "The number of failed DHCP attempts to fall back to using static settings" + default 5 + depends on !ARCH_PHY_INTERRUPT && ARCH_PHY_POLLED && FSUTILS_IPCFG Review comment: > BTW, the option should depend on DHCPC instead, add rename to NETINIT_DHCPC_FALLBACK. Rename done. dependency on NETINIT_DHCPC added in 078d39e5e and force pushed. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org