Commit Graph

24 Commits

Author SHA1 Message Date
Denis Kenzior 541682f89d Add sim file reading / writing utilities 2009-07-14 15:45:04 -05:00
Denis Kenzior 04f6924099 Add IMSI getter method 2009-07-14 15:45:04 -05:00
Denis Kenzior acc65afcee Add get/set sim readiness functions 2009-07-14 15:45:04 -05:00
Denis Kenzior 165a78e7e9 Remove some SPN stuff from SIM 2009-07-14 15:45:03 -05:00
Denis Kenzior d0fbef76bd Add sim ready notify functions 2009-07-14 15:45:03 -05:00
Denis Kenzior ffb5d3da94 Remove unnecessary value 2009-07-14 15:45:03 -05:00
Denis Kenzior bed14e8527 Remove unneeded functions 2009-07-14 15:45:03 -05:00
Denis Kenzior b945c111b7 Move utility to its own file 2009-07-14 15:45:03 -05:00
Denis Kenzior 2de9ad258b Cleanup network_name_parse 2009-07-14 15:45:03 -05:00
Andrzej Zaborowski 98a4308b30 Read EF-PNN, EF-OPL and override network names accordingly. 2009-07-14 15:45:03 -05:00
Denis Kenzior ce996638b9 Fix suggest parantheses warning 2009-07-13 22:33:48 -05:00
Denis Kenzior 683cee1c1c Fix unused variable warning 2009-07-13 22:33:48 -05:00
Denis Kenzior c093a75f89 Convert SIM strings properly 2009-07-06 19:33:30 -05:00
Denis Kenzior 369f8d0c84 Minor style issues 2009-06-22 13:22:14 -05:00
Andrzej Zaborowski 6ee516ac09 Read EF-SPDI and use it for SPN display.
When the operator is one of those listed in EF-SPDI then we need to
treat it like a HPLMN in deciding whether the SPN or PLMN name should
be displayed.
2009-06-22 13:22:14 -05:00
Denis Kenzior 98a3826ab8 Don't bother reporting subscriber numbers by type 2009-06-18 04:02:15 -05:00
Denis Kenzior 6fdf580a5d Cleanup EFmsisdn reading patch 2009-06-18 04:02:13 -05:00
Andrzej Zaborowski 1c6d44d9c0 Read own numbers from EFmsisdn instead of AT+CNUM. 2009-06-18 04:02:08 -05:00
Denis Kenzior c3e3750ebb Minor style fixes 2009-06-18 04:02:06 -05:00
Andrzej Zaborowski 2b451eaeab Add record based file capability to sim_ops
Add capability to read / write / stat files on the SIM.  This now
supports cyclic, linear fixed and transparent SIM files.

Parse GET RESPONSE result to find structure of the file (cyclic, linear
fixed, or transparent), the file size and the record length.

Add both read and update capability for binary and record-based files.

Implement writing sim files through AT.
2009-06-18 04:02:05 -05:00
Denis Kenzior 6fdc96cb73 Remove unnecessary define 2009-05-29 18:37:36 -05:00
Denis Kenzior db2a98ae5a Cleanup SimManager interface
Future-Proof own numbers support.  For now we only report voice numbers
Rename attributes to be a bit better
2009-05-26 18:20:03 -05:00
Denis Kenzior ab68cd8e7e Create ofono_phone_number struct
Creates a new structure in driver.h called ofono_phone_number.
This is meant to replace const char *number, int number_type
arguments everywhere.

Fix up all existing code to use this structure instead.
2009-05-26 18:18:12 -05:00
Andrzej Zaborowski 70fce6b551 Add SimManager interface.
Implement basic SIM filesystem utilities.

Obtain Service Provider Name EF-SPN record.

Make NetworkRegistration use SPN for PLMN display. This implements PLMN
display rules in 31.102 "EFSPN".
2009-05-26 18:15:51 -05:00