diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 20:22:30 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 20:22:30 -0700 |
commit | 1960dbbc79e43f33f23886c2a12e508a0350aad1 (patch) | |
tree | d9d3eae9cdfe48e88a489390bc7e21b70a940ebb /include | |
parent | 10297b153a94e335beed13b9a9350ec99730da0b (diff) |
sim: Add special callback for reading ICCID value
Diffstat (limited to 'include')
-rw-r--r-- | include/sim.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sim.h b/include/sim.h index 508ff249..cd2f1e38 100644 --- a/include/sim.h +++ b/include/sim.h @@ -94,6 +94,9 @@ typedef void (*ofono_sim_read_cb_t)(const struct ofono_error *error, typedef void (*ofono_sim_write_cb_t)(const struct ofono_error *error, void *data); +typedef void (*ofono_sim_iccid_cb_t)(const struct ofono_error *error, + const char *iccid, void *data); + typedef void (*ofono_sim_imsi_cb_t)(const struct ofono_error *error, const char *imsi, void *data); @@ -144,6 +147,8 @@ struct ofono_sim_driver { void (*write_file_cyclic)(struct ofono_sim *sim, int fileid, int length, const unsigned char *value, ofono_sim_write_cb_t cb, void *data); + void (*read_iccid)(struct ofono_sim *sim, + ofono_sim_iccid_cb_t cb, void *data); void (*read_imsi)(struct ofono_sim *sim, ofono_sim_imsi_cb_t cb, void *data); void (*query_passwd_state)(struct ofono_sim *sim, |