You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -384,6 +385,33 @@ Test `WiFiInterface::connect()` without parameters. Use `set_credentials()` for
384
385
385
386
`connect()` calls return `NSAPI_ERROR_OK`.
386
387
388
+
### WIFI_CONNECT_NONBLOCK
389
+
390
+
**Description:**
391
+
392
+
Test `WiFiInterface::connect()` and `WiFiInterface::disconnect()` in non-blocking mode. It checks that driver can connect and disconnect in nonblocking mode.
393
+
394
+
**Preconditions:**
395
+
396
+
1. Test enviroment is set up as specified in the "Test Environment" chapter.
In case of drivers which do not support asynchronous mode `set_blocking(false)` call returns `NSAPI_ERROR_UNSUPPORTED` and skips test case, otherwise:
412
+
`connect()` call returns `NSAPI_ERROR_OK` or `NSAPI_ERROR_WOULD_BLOCK`. To confirm connection `get_connection_status()` calls return `NSAPI_STATUS_GLOBAL_UP` or `NSAPI_STATUS_LOCAL_UP`.
413
+
`disconnect()` call returns `NSAPI_ERROR_DISCONNECTED` or `NSAPI_ERROR_WOULD_BLOCK`. To confirm disconnection `get_connection_status()` calls return `NSAPI_STATUS_DISCONNECTED`.
414
+
387
415
### WIFI_CONNECT_SECURE
388
416
389
417
**Description:**
@@ -501,3 +529,5 @@ For those known networks, test that the following return values are found:
0 commit comments