Re: [PATCHv3 1/2] quectel: rework sim detection

2019-10-11 Thread Denis Kenzior
Hi Martin, On 10/7/19 4:39 PM, Martin Hundebøll wrote: Use at_util_sim_state_query_new() to query the sim inserted state. Once that returns, the locked state is queried by issuing a AT+CPIN? command. If not locked, a timer is started to query the quectel init status of the sim. Once the init st

[PATCHv3 1/2] quectel: rework sim detection

2019-10-07 Thread Martin Hundebøll
Use at_util_sim_state_query_new() to query the sim inserted state. Once that returns, the locked state is queried by issuing a AT+CPIN? command. If not locked, a timer is started to query the quectel init status of the sim. Once the init status is ready, the sim atom is created, and the modem is s