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.
1 parent 4033c21 commit ec7cc4eCopy full SHA for ec7cc4e
connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp
@@ -19,6 +19,7 @@
19
#include "GEMALTO_CINTERION_CellularStack.h"
20
#include "GEMALTO_CINTERION.h"
21
#include "CellularLog.h"
22
+#include "platform/mbed_thread.h"
23
#include "rtos.h"
24
25
using namespace std::chrono_literals;
@@ -538,6 +539,8 @@ nsapi_size_or_error_t GEMALTO_CINTERION_CellularStack::socket_sendto_impl(Cellul
538
539
socket->tx_ready = false;
540
}
541
542
+ thread_sleep_for(1); // wait for modem to process the data;
543
+
544
return (_at.get_last_error() == NSAPI_ERROR_OK) ? accept_len : NSAPI_ERROR_DEVICE_ERROR;
545
546
0 commit comments