We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a2d1bf + 28a6fa1 commit cb61fc5Copy full SHA for cb61fc5
features/nanostack/FEATURE_NANOSTACK/mbed-mesh-api/source/ThreadInterface.cpp
@@ -39,7 +39,11 @@ int ThreadInterface::connect()
39
// Release mutex before blocking
40
nanostack_unlock();
41
42
- int32_t count = connect_semaphore.wait(30000);
+ // In Thread wait connection for ever:
43
+ // -routers will create new network and get local connectivity
44
+ // -end devices will get connectivity once attached to existing network
45
+ // -devices without network settings gets connectivity once commissioned and attached to network
46
+ int32_t count = connect_semaphore.wait(osWaitForever);
47
48
if (count <= 0) {
49
return NSAPI_ERROR_DHCP_FAILURE; // sort of...
0 commit comments