Open simkard69 opened 2 years ago
Depends if there's a working sim inserted at power on. No sim, the modem takes a while to respond. With sim, pretty much straight away.
modem.init() or modem.restart() won't succeed without sim inserted. Both methods only takes a few seconds to complete if sim is inserted on SIM7600 and SIM7000. Call that first then if successful call modem.getSimStatus() if you need it.
Hello Everyone,
Seems like "getSimStatus()" (related to "getSimStatusImpl()" in file "TinyGsmGPRS.tpp") is locking code for some delay (timeout_ms = 10000L).
Is there any way of avoiding such a time lock ?
Does command "getSimStatus()" actually takes time to complete ?
Attached related code from file "TinyGsmGPRS.tpp"
Thanks