libosmosim 1.9.0.209-e0c63
Osmocom SIM library
|
classic SIM card specific structures/routines. More...
#include <errno.h>
#include <string.h>
#include <osmocom/sim/sim.h>
#include <osmocom/core/talloc.h>
#include <osmocom/gsm/gsm48.h>
#include "sim_int.h"
Functions | |
static int | iccid_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data) |
static int | elp_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data) |
int | gsm_lp_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data) |
int | gsm_imsi_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data) |
static int | gsm_kc_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data) |
static int | gsm_plmnsel_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data) |
int | gsm_hpplmn_decode (struct osim_decoded_data *dd, const struct osim_file_desc *desc, int len, uint8_t *data) |
int | osim_int_cprof_add_gsm (struct osim_file_desc *mf) |
int | osim_int_cprof_add_telecom (struct osim_file_desc *mf) |
struct osim_card_profile * | osim_cprof_sim (void *ctx) |
Variables | |
static const struct osim_card_sw | ts11_11_sw [] |
static const struct osim_card_sw * | sim_card_sws [] |
static const struct osim_file_desc | sim_ef_in_mf [] |
static const struct osim_file_desc | sim_ef_in_gsm [] |
static const struct osim_file_desc | sim_ef_in_solsa [] |
static const struct osim_file_desc | sim_ef_in_mexe [] |
static const struct osim_file_desc | sim_ef_in_telecom [] |
const struct osim_file_desc | sim_ef_in_graphics [] |
classic SIM card specific structures/routines.
|
static |
References osim_decoded_element::buf, data, ELEM_REPR_NONE, ELEM_T_STRING, element_alloc(), len(), and osim_decoded_element::u.
int gsm_hpplmn_decode | ( | struct osim_decoded_data * | dd, |
const struct osim_file_desc * | desc, | ||
int | len, | ||
uint8_t * | data | ||
) |
References data, ELEM_REPR_DEC, ELEM_T_UINT8, element_alloc(), osim_decoded_element::u, and osim_decoded_element::u8.
int gsm_imsi_decode | ( | struct osim_decoded_data * | dd, |
const struct osim_file_desc * | desc, | ||
int | len, | ||
uint8_t * | data | ||
) |
|
static |
int gsm_lp_decode | ( | struct osim_decoded_data * | dd, |
const struct osim_file_desc * | desc, | ||
int | len, | ||
uint8_t * | data | ||
) |
References data, ELEM_REPR_DEC, ELEM_T_UINT8, element_alloc(), len(), osim_decoded_element::u, and osim_decoded_element::u8.
|
static |
|
static |
struct osim_card_profile * osim_cprof_sim | ( | void * | ctx | ) |
int osim_int_cprof_add_gsm | ( | struct osim_file_desc * | mf | ) |
References add_df_with_ef(), ARRAY_SIZE, sim_ef_in_gsm, sim_ef_in_mexe, and sim_ef_in_solsa.
Referenced by osim_cprof_sim(), and osim_cprof_uicc().
int osim_int_cprof_add_telecom | ( | struct osim_file_desc * | mf | ) |
References add_df_with_ef(), ARRAY_SIZE, sim_ef_in_graphics, and sim_ef_in_telecom.
Referenced by osim_cprof_sim(), osim_cprof_tsim(), and osim_cprof_uicc().
|
static |
Referenced by osim_cprof_sim().
const struct osim_file_desc sim_ef_in_graphics[] |
Referenced by osim_int_cprof_add_telecom().
|
static |
Referenced by osim_int_cprof_add_gsm().
|
static |
Referenced by osim_int_cprof_add_gsm().
|
static |
Referenced by osim_cprof_sim().
|
static |
Referenced by osim_int_cprof_add_gsm().
|
static |
Referenced by osim_int_cprof_add_telecom().
|
static |