Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ESP8266/ATParser.lib
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/ARMmbed/ATParser/#77734ee44a63b149cd20a6647394ab781b67c0aa
https://github.com/ARMmbed/ATParser/#a2cb09990f11a17504608272966f1185b211ce23
4 changes: 2 additions & 2 deletions ESP8266/ESP8266.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ int32_t ESP8266::recv(int id, void *data, uint32_t amount)
}
}

// Wait for inbound packet
if (!_parser.recv("OK")) {
// Check for inbound packets
if (!_parser.process_oob()) {
return -1;
}
}
Expand Down
2 changes: 1 addition & 1 deletion ESP8266Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define ESP8266_SEND_TIMEOUT 500
#endif
#ifndef ESP8266_RECV_TIMEOUT
#define ESP8266_RECV_TIMEOUT 0
#define ESP8266_RECV_TIMEOUT 500
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some quick math, 5 symbols (+IPD:) / 115200 baud = 0.043 ms.

500ms > 0.043ms so this looks good 👍

#endif
#ifndef ESP8266_MISC_TIMEOUT
#define ESP8266_MISC_TIMEOUT 500
Expand Down