Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 3:72756a2b1a87, committed 2018-06-27
- Comitter:
- nikitoslav
- Date:
- Wed Jun 27 13:43:43 2018 +0000
- Parent:
- 2:3518f7c570de
- Child:
- 4:d53cfe3998bc
- Commit message:
- 4 recv only on 2d linkId
Changed in this revision
| ESP8266.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ESP8266.cpp Wed Jun 27 10:33:28 2018 +0000
+++ b/ESP8266.cpp Wed Jun 27 13:43:43 2018 +0000
@@ -107,6 +107,7 @@
uint32_t recv_amount;
if (!(_parser.recv("+IPD,%d,%d,%[^\,],%d:", &linkId, &recv_amount, IP, port)
+ && linkId == 2
&& recv_amount <= amount
&& _parser.read((char*)data, recv_amount))) {
return -1;