ublox-at-cellular-interface_psm
Diff: UbloxATCellularInterface.cpp
- Revision:
- 42:98808477a691
- Parent:
- 41:69998003d95a
- Child:
- 43:cdd202c7177a
diff -r 69998003d95a -r 98808477a691 UbloxATCellularInterface.cpp --- a/UbloxATCellularInterface.cpp Wed Jan 01 11:47:24 2020 +0500 +++ b/UbloxATCellularInterface.cpp Mon Jan 06 14:29:40 2020 +0500 @@ -701,7 +701,7 @@ LOCK(); if (_at->send("AT+USOWR=%d,%d", socket->modem_handle, blk) && _at->recv("@")) { - wait_ms(50); + ThisThread::sleep_for(50); if ((_at->write(buf, blk) < (int) blk) || !_at->recv("OK")) { success = false; @@ -756,7 +756,7 @@ if (_at->send("AT+USOST=%d,\"%s\",%d,%d", socket->modem_handle, address.get_ip_address(), address.get_port(), blk) && _at->recv("@")) { - wait_ms(50); + ThisThread::sleep_for(50); if ((_at->write(buf, blk) >= (int) blk) && _at->recv("OK")) { } else {