include: Introduce ofono_sim_initialized_notify

This commit is contained in:
Denis Kenzior 2017-10-31 10:40:43 -05:00
parent ecc6332e28
commit c5d83c01a8
1 changed files with 13 additions and 0 deletions

View File

@ -247,8 +247,21 @@ ofono_bool_t ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id,
ofono_bool_t ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id);
/*
* It is assumed that when ofono_sim_inserted_notify is called, the SIM is
* ready to be queried for files that are always available even if SIM
* PIN has not been entered. This is EFiccid and a few others
*/
void ofono_sim_inserted_notify(struct ofono_sim *sim, ofono_bool_t inserted);
/*
* When the SIM PIN has been entered, many devices require some time to
* initialize the SIM and calls to CPIN? will return a SIM BUSY error. Or
* sometimes report ready but fail in any subsequent SIM requests. This is
* used to notify oFono core when the SIM / firmware is truly ready
*/
void ofono_sim_initialized_notify(struct ofono_sim *sim);
struct ofono_sim_context *ofono_sim_context_create(struct ofono_sim *sim);
struct ofono_sim_context *ofono_sim_context_create_isim(