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.
2 parents fa327ea + e84e098 commit 4ed8603Copy full SHA for 4ed8603
components/wifi/esp8266-driver/ESP8266/ESP8266.cpp
@@ -686,7 +686,7 @@ void ESP8266::_oob_packet_hdlr()
686
}
687
688
if (_tcp_passive && _sock_i[id].open == true && _sock_i[id].proto == NSAPI_TCP) {
689
- if (_parser.scanf("%d\n", &amount)) {
+ if (_parser.recv("%d\n", &amount)) {
690
_sock_i[id].tcp_data_avbl = amount;
691
692
// notify data is available
0 commit comments