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.
1 parent 1f5a124 commit e84e098Copy full SHA for e84e098
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