espressif / esp-protocols

Collection of ESP-IDF components related to networking protocols
165 stars 115 forks source link

Reduce maximum wait time for get_operator_name() to fix hangups (IDFGH-12591) #547

Open 0xFEEDC0DE64 opened 2 months ago

0xFEEDC0DE64 commented 2 months ago

Is there a reason why we have to freeze the task for 75 seconds here?

We have had lots of hangups and it seems like the answer is typically there after ~100ms, not 75000ms

david-cermak commented 2 months ago

This command usually takes some time to complete, depending on the modem, but I see that this is more or less configurable on modern devices (e.g. Timeout set with ATS7).

Maybe we could add an optional timeout parameter, that would default to those 75seconds?