Skip to content

Commit

Permalink
Reduce maximum wait time for get_operator_name() to fix hangups
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFEEDC0DE64 committed Aug 19, 2024
1 parent 69cd36b commit 3fd1657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_modem/src/esp_modem_command_library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ command_result get_operator_name(CommandableIf *t, std::string &operator_name, i
{
ESP_LOGV(TAG, "%s", __func__ );
std::string out;
auto ret = generic_get_string(t, "AT+COPS?\r", out, 75000);
auto ret = generic_get_string(t, "AT+COPS?\r", out, 1000);
if (ret != command_result::OK) {
return ret;
}
Expand Down

0 comments on commit 3fd1657

Please sign in to comment.