Denis Kenzior
6be11e19be
include: Remove unused query_locked method
2016-04-27 11:14:35 -05:00
Samrat Guha Niyogi
0b35d7d8be
include: Add query_facility_lock method
2016-04-27 10:38:47 -05:00
Denis Kenzior
b2a9b8abb6
include: Tweak ofono_sim_read_bytes API
...
Reading of icons requires us to specify the path
2012-11-23 07:22:25 -06:00
Denis Kenzior
3f79ed2bf0
include: Add path and path_len arguments
...
The CRSM command has an additional parameter called pathlen which can be
used to specify the path of the elementary file outside the well-known
path range.
2012-11-22 10:26:34 -06:00
Denis Kenzior
03bc21af88
include: Add RESETTING state
2012-11-22 06:50:08 -06:00
August Mayer
687f830c21
sim: add function to get password type
2012-08-16 00:58:56 -05:00
Denis Kenzior
e0e6e2c439
sim: Revert adding special callback for EFiccid
...
This reverts commit 1960dbbc79
.
2012-06-16 09:50:05 -05:00
Denis Kenzior
a8247d17af
sim: Revert adding special callback for EFmsisdn
...
This reverts commit c3124b66d9
.
2012-06-16 09:50:05 -05:00
Denis Kenzior
bee063dd76
sim: Revert adding special callback for EFad
...
This reverts commit 5522df64fa
.
2012-06-16 09:50:05 -05:00
Marcel Holtmann
5522df64fa
sim: Add special callback for reading MCC and MNC value
2012-06-16 21:30:28 -07:00
Marcel Holtmann
c3124b66d9
sim: Add special callback for reading MSISDN value
2012-06-16 20:52:18 -07:00
Marcel Holtmann
1960dbbc79
sim: Add special callback for reading ICCID value
2012-06-16 20:22:30 -07:00
Marcel Holtmann
10297b153a
sim: Use ofono_bool_t instead of gboolean
2012-06-16 20:08:10 -07:00
Oleg Zhurakivskyy
80733ae875
include: Add ofono_sim_get_spn() declaration
2012-01-18 10:42:40 -06:00
Oleg Zhurakivskyy
ef658e92f3
sim: Add SPN watch capability
2012-01-15 19:55:58 -06:00
Marcel Holtmann
7e6afe37bf
core: Update copyright information
2011-10-10 13:39:42 -07:00
Denis Kenzior
7abc4f0a1a
include: Introduce a new SIM_LOCKED_OUT state
...
This is the same as SIM_INSERTED state, except we have already queried
the always-readable EFs
2011-07-19 14:10:17 -05:00
Denis Kenzior
00a3a6d7ac
sim: Add API for watching files changed via stk
2011-02-07 11:28:30 -06:00
Andrzej Zaborowski
0ecc99973a
sim: ofono_sim_context api header changes
...
This patch introduces sim FS contexts which are used to queue file
read and write operations. When a context is freed all pending
operations in that context are cancelled preventing callbacks from
being called causing segfaults.
2011-02-03 13:13:33 -06:00
Lucas De Marchi
dd96534a81
include: don't use c++ keyword in public header
2011-01-26 18:23:13 +01:00
Jukka Saunamaki
a182554f0a
sim: getters for mcc and mnc definition
2011-01-20 11:03:52 -06:00
Lucas De Marchi
2ae5b82ad9
include: add method to query pin Retries
2011-01-10 15:38:48 -06:00
Petteri Tikander
d34ddeccaf
sim: add new parameter to file-info utility
2010-10-15 02:15:21 -05:00
Denis Kenzior
5754eaf7e9
sim: Break out sim file reading into simfs
2010-09-09 08:50:28 -05:00
Kristen Carlson Accardi
95d957b62e
sim: read EFiidf
...
EFiidf can be larger than 256 bytes, so allow callers to read
portions of the EFiidf from a specified offset. Cache EFiidf
files as blocks of 256 bytes so that it's not necessary to
read the entire (potentially large) file.
2010-09-09 08:45:32 -05:00
Denis Kenzior
4292b2dbed
sim: Turn around the order of arguments
...
The void *user argument was first. It should be last instead to be
consistent with the other watch functions.
2010-08-30 14:29:34 -05:00
Andrzej Zaborowski
aad4d0de78
Add Sim Toolkit atom
...
- Add ofono_stk atom in stk.c
- Move envelope command from sim driver to stk driver
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
ddfe8acf11
Drivers can notify core of SIM insertion / removal
...
Add ofono_sim_inserted_notify function to notify the core of SIM
insertion / removal.
Make every plugin generate a sim inserted event on start. For devices
with removable card, the event should be emitted after the
plugin detects such event. For devices that need to wait for SIM card
initialization, they can emit this event later.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
22cbe98146
Extend sim-ready watch with card insert/eject
2010-04-15 16:49:40 -05:00
Denis Kenzior
0382f64353
Refactor: Rename & Restructure cphs_support
...
- Rename to cphs_service_table to be more inline with the specification.
- Since the spec allows arbitrary length service tables, use an unsigned
char * return instead of a short.
- Use bit_field function instead of defining an enum
2010-01-12 11:27:31 -06:00
Denis Kenzior
2b231c3f84
Rename: Rename CPHS Phase enums
...
Be more consistent with the 3GPP Phase names
2010-01-12 11:23:21 -06:00
Andrzej Zaborowski
f97d203392
Use CPHS version of mailbox numbers on SIM if 3GPP version not available.
...
Otherwise just try to keep the CPHS version of the files in sync.
2010-01-12 11:12:01 -06:00
Andrzej Zaborowski
637ca18af4
Retrieve CPHS phase (if any) from SIM.
2010-01-12 10:35:51 -06:00
Denis Kenzior
45f2f9315f
Set phase to unknown until we probe it
2010-01-06 14:17:27 -06:00
Denis Kenzior
beb3e032e4
Refactor: Preserve Phase obtained from the SIM
2010-01-06 13:19:47 -06:00
Andrzej Zaborowski
b4c3e1c1cc
Index SIM cache by phase also.
2010-01-06 13:14:20 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Andrzej Zaborowski
3547a8d39d
Add SIM download envelope function to SIM driver
2009-12-17 21:45:38 -06:00
Denis Kenzior
be55ba4ab3
Refactor: Move elementary file type checking
...
Every single EF read callback checks the file type reported out of the
SIM is what it expects. Instead this should be done in one place and
the errors reported accordingly
2009-10-02 18:25:56 -05:00
Andrzej Zaborowski
2a02f45c79
Add plugin interface for getting PIN lock state.
...
It may be useful to have the information of whether card is currently
locked and emit events when this changes but if we want to have it as a
property, we would need properties for all types of locks and it wouldn't
be all that useful.
2009-09-23 14:27:52 -05:00
Denis Kenzior
5fd083f6f4
Refactor: Do not use int instead of enum
...
27.007 does not define an enumeration for SIM PIN/PUK values. This
should be handled by ofono enum instead
2009-09-22 00:07:07 -05:00
Denis Kenzior
63416e2851
Rearrange sim password enum
2009-09-22 00:07:06 -05:00
Denis Kenzior
9f27be58bc
Move some stuff around
2009-09-22 00:07:06 -05:00
Andrzej Zaborowski
ee02b14836
Do PIN authentication
...
This adds checking whether PIN is required during SIM initialisation and
delaying the sim ready notifications until after correct PIN is given.
2009-09-22 00:07:06 -05:00
Denis Kenzior
9caa606bcc
Make remove functions not return anything
2009-09-01 22:27:08 -05:00
Denis Kenzior
422df0edfb
change int vendor to unsigned int vendor
2009-09-01 21:39:02 -05:00
Denis Kenzior
aecf42646e
Add vendor flag capability to sim
2009-09-01 18:14:58 -05:00
Denis Kenzior
5e72405120
Evolve SIM driver
2009-08-19 18:35:06 -05:00