Commit Graph

17 Commits

Author SHA1 Message Date
Andrzej Zaborowski 6552bc668d Read EFad and expose the IMSI MNC length (2-3) 2009-08-31 15:12:37 -05:00
Yang Gu 5a0d8709af Support emergency numbers 2009-08-17 15:51:40 -05:00
Andrzej Zaborowski e8552dde07 Add utility for building ADN records
Used to populate MSISDN, MBDN, etc records on the SIM
2009-08-05 13:25:31 -05:00
Andrzej Zaborowski 203ed17cec Add a MessageWaiting interface to track message waiting indications.
The state of the indications is kept in memory and written back to
the SIM after any changes.
2009-08-04 15:08:11 -05:00
Andrzej Zaborowski ebf6fca07a Clean up in sim.c.
Remove unused variables and fields.
Move EFadn format parsing to a common function because various files use
this same format.
2009-07-31 09:55:46 -05:00
Denis Kenzior 555e2e689d Refactor SIM file access code
SIM File Access conditions would be reported similarly between various
stacks, so it seems like the core logic of figuring out the access
conditions belongs up in the daemon.

This also fixes various problems, including:
  - access conditions read from bytes 10-12, instead of 9-11.
  - read/update, invalidate/rehabilitate and increase conditions
    read from the wrong bits (0-3 instead of 4-7 and vice versa)
2009-07-27 17:09:56 -05:00
Andrzej Zaborowski da0bdb1cbf Clean-up in sim.c. 2009-07-17 23:48:29 -05:00
Denis Kenzior bda598b93a Refactor EONS to have lac / non-lac versions
PNN/OPL database has fields which provide global operator naming,
or specific to a cell range.  The cell range can only be obtained
if the operator is the current one.
2009-07-14 15:45:06 -05:00
Denis Kenzior 3774e4eb73 Return the entire EONS info, not just the longname 2009-07-14 15:45:06 -05:00
Denis Kenzior 0fa6897213 Refactor OPL code 2009-07-14 15:45:05 -05:00
Denis Kenzior 5ea1326b00 Move SPDI to network.c 2009-07-14 15:45:05 -05:00
Denis Kenzior 9a565d88b1 Refactor sim_pnn_operator_parse 2009-07-14 15:45:05 -05:00
Denis Kenzior 38eebca61f Move PNN operator parsing to simutil 2009-07-14 15:45:05 -05:00
Denis Kenzior 80f43ff849 Move function to simutil.c 2009-07-14 15:45:05 -05:00
Denis Kenzior f6aa6e473c Move enum to simutil.h 2009-07-14 15:45:05 -05:00
Denis Kenzior e13b933cbb Move enum to simutil.h 2009-07-14 15:45:04 -05:00
Denis Kenzior b945c111b7 Move utility to its own file 2009-07-14 15:45:03 -05:00