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
socket_close_impl(socket->id); // socket may already be open on modem if app and modem are not in sync, as a recovery, try to close the socket so open succeeds the next time
259
+
socket_close_impl(internet_service_id); // socket may already be open on modem if app and modem are not in sync, as a recovery, try to close the socket so open succeeds the next time
260
260
if (retry_open--) {
261
261
goto retry_open;
262
262
}
263
263
return NSAPI_ERROR_NO_SOCKET;
264
264
}
265
265
266
-
socket->created = true;
266
+
socket->id = internet_service_id;
267
267
tr_debug("Cinterion open %d (err %d)", socket->id, _at.get_last_error());
0 commit comments