We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6e5083 + 19fddbf commit 9ca5383Copy full SHA for 9ca5383
connectivity/cellular/source/framework/device/CellularContext.cpp
@@ -156,6 +156,12 @@ void CellularContext::do_connect_with_retry()
156
rtos::ThisThread::sleep_for(_retry_timeout_array[_retry_count] * 1s);
157
do_connect();
158
if (_cb_data.error == NSAPI_ERROR_OK) {
159
+#if !NSAPI_PPP_AVAILABLE
160
+ if (!_nonip_req && !_cp_in_use) { // don't validate if non-ip case
161
+ validate_ip_address();
162
+ }
163
+ call_network_cb(NSAPI_STATUS_GLOBAL_UP);
164
+#endif
165
return;
166
}
167
_retry_count++;
0 commit comments