diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sim.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1990,6 +1990,22 @@ const char *ofono_sim_get_imsi(struct ofono_sim *sim) return sim->imsi; } +const char *ofono_sim_get_mcc(struct ofono_sim *sim) +{ + if (sim == NULL) + return NULL; + + return sim->mcc; +} + +const char *ofono_sim_get_mnc(struct ofono_sim *sim) +{ + if (sim == NULL) + return NULL; + + return sim->mnc; +} + enum ofono_sim_phase ofono_sim_get_phase(struct ofono_sim *sim) { if (sim == NULL) |