Hi Cedric, On 11/08/2012 09:29 AM, Cedric Jehasse wrote: > The design philosophy is to not perform any polling in the core. > The modem driver has to take care of this. > > Ok. So in case of the atmodem driver, would it be correct to move this > retrying of AT+CPIN? to at_cpin_cb and only call the cb from the core > once the reply is not CME Error SIM Busy? The SIM busy stuff is tricky. oFono reads lots of files from the SIM before even checking CPIN. So you need to check the CPIN SIM busy condition before signaling that the SIM is inserted. As I said, check how other Qualcomm based devices are doing this. E.g. Huawei, ZTE, etc. Regards, -Denis