Merge pull request #11499 from kivaisan/fix_quectel_m26_send

Cellular: Fix stop tag for Quectel M26 send command
pull/11523/head
Martin Kojtal 2019-09-19 10:22:18 +02:00 committed by GitHub
commit 15d200f3d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -439,6 +439,7 @@ nsapi_size_or_error_t QUECTEL_M26_CellularStack::socket_sendto_impl(CellularSock
_at.resp_start(">");
_at.write_bytes((uint8_t *)data, sent_len);
_at.resp_start();
_at.set_stop_tag("\r\n");
_at.resp_stop();
if (_at.get_last_error() != NSAPI_ERROR_OK) {