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 3e8de3a commit 1db1e15Copy full SHA for 1db1e15
components/esp_modem/src/esp_modem_dte.cpp
@@ -78,9 +78,9 @@ void DTE::set_command_callbacks()
78
if (command_cb.process_line(data, 0, len)) {
79
return true;
80
}
81
- // cannot inflate and the processing hasn't finishes in the first iteration -> report a failure
82
- command_cb.give_up();
83
- return true;
+ // cannot inflate and the processing hasn't finishes in the first iteration, but continue
+ // (will post next fragments to the parser, since we might be just missing a last token or OK
+ return false;
84
#endif
85
86
// data == nullptr: Terminals which request users to read current data
0 commit comments