commit f209e00dde92d26ee3aab4feb257f08460ca675b
parent 86523b0597ac4994bb2fc3912f8353ae1869e679
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 28 May 2025 13:10:26 -0700
doc: add note about timeouts to Network.Connect()
Since netconfig is now part of the Connect() call from a DBus
perspective add a note indicating that this method has the potential
to take a very long time if there are issues with DHCP.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/doc/network-api.txt b/doc/network-api.txt
@@ -11,6 +11,12 @@ Methods void Connect()
the object path to connect to specified network.
Connecting to WEP networks is not supported.
+ Note: When [General].EnableNetworkConfiguration is set
+ to true a call to Connect() has the potential to take
+ a significant amount of time. Specifically if DHCP is
+ either slow, or is unable to complete. The timeout for
+ DHCP is roughly 30 seconds per BSS.
+
Possible errors: net.connman.iwd.Aborted
net.connman.iwd.Busy
net.connman.iwd.Failed