forked from espressif/esp-protocols
Reduce maximum wait time for get_operator_name() to fix hangups
This commit is contained in:
@ -243,7 +243,7 @@ command_result get_operator_name(CommandableIf *t, std::string &operator_name, i
|
|||||||
{
|
{
|
||||||
ESP_LOGV(TAG, "%s", __func__ );
|
ESP_LOGV(TAG, "%s", __func__ );
|
||||||
std::string out;
|
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) {
|
if (ret != command_result::OK) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user