Aleksander Morgado
a7acdcd071
sim: only unexport object if currently exported
...
Avoid trying to unexport the object if it was never exported before.
2012-03-15 14:14:32 +01:00
Aleksander Morgado
ad1c7d8dec
sim: bind connection property right away
2012-03-15 14:14:32 +01:00
Aleksander Morgado
b435012eb1
sim: make sure we unexport the SIM object when destroying it
...
Usually, if not always, the connection stored in the SIM object never exists
when disposing it, as we clear the connection property in the Modem object
before destroying it, and both properties are bound. But just in case, in order
to avoid ending up with a zombie object in DBus, we make sure we unexport it.
2012-03-15 14:14:32 +01:00
Aleksander Morgado
3164f5512d
sim: plug memleak, free path on finalize()
2012-03-15 14:14:31 +01:00
Aleksander Morgado
fb90f205d1
core: port to use the new AT command/sequences in the MMBaseModem API
2012-03-15 14:14:31 +01:00
Aleksander Morgado
ec1d94044f
sim: during init, fall down to next states directly
2012-03-15 14:14:26 +01:00
Aleksander Morgado
c58db4e015
core: start using our newly defined errors
2012-03-15 14:14:25 +01:00
Aleksander Morgado
c2eac91b78
sim: handle SendPin() and SendPuk() calls
2012-03-15 14:14:23 +01:00
Aleksander Morgado
995e7ace07
sim: handle EnablePin() calls
2012-03-15 14:14:23 +01:00
Aleksander Morgado
b29a8ba44f
sim: handle ChangePin() calls
2012-03-15 14:14:23 +01:00
Aleksander Morgado
23dd4d7e82
sim: allow re-launching initialization
...
It may happen that we cannot load property values when the SIM is locked, so
we need to enable re-launching initialization in the object API.
2012-03-15 14:14:23 +01:00
Aleksander Morgado
ff0136ed04
sim: load OperatorName during init
2012-03-15 14:14:23 +01:00
Aleksander Morgado
e3e3b32b0a
sim: load OperatorIdentifier during init
2012-03-15 14:14:23 +01:00
Aleksander Morgado
bdd1d23ed2
sim: load IMSI during init
2012-03-15 14:14:23 +01:00
Aleksander Morgado
87823387f4
sim: load SIM Identifier during init
2012-03-15 14:14:23 +01:00
Aleksander Morgado
e40d32ac94
core: new MMSim object, inherits from MmGdbusSim
2012-03-15 14:14:23 +01:00