File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
features/cellular/framework/targets/QUECTEL/BC95 Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,8 @@ nsapi_size_or_error_t QUECTEL_BC95_CellularStack::socket_sendto_impl(CellularSoc
150
150
_at.write_string (hexstr, false );
151
151
_at.cmd_stop ();
152
152
_at.resp_start ();
153
- socket->id = _at.read_int ();
153
+ // skip socket id
154
+ _at.skip_param ();
154
155
sent_len = _at.read_int ();
155
156
_at.resp_stop ();
156
157
@@ -182,6 +183,7 @@ nsapi_size_or_error_t QUECTEL_BC95_CellularStack::socket_recvfrom_impl(CellularS
182
183
_at.read_string (hexstr, sizeof (hexstr));
183
184
// remaining length
184
185
_at.skip_param ();
186
+ _at.resp_stop ();
185
187
186
188
if (!recv_len || (recv_len == -1 ) || (_at.get_last_error () != NSAPI_ERROR_OK)) {
187
189
return NSAPI_ERROR_WOULD_BLOCK;
You can’t perform that action at this time.
0 commit comments