Guillaume Lucas
4ff9cf9a27
simfs: fix GLib-CRITICAL warning
...
During modem release, when there is no SIM card, a GLib-CRITICAL
issue occurs during the free of the sim fs context.
2011-03-11 14:57:31 -06:00
Andrzej Zaborowski
1a4299b8eb
stk: fix issue with null data object
...
This will let the caller correctly detect NULL alpha id.
2011-03-11 14:39:58 -06:00
Denis Kenzior
4dd654ddf4
voicecall: Refactor held and mpty notify logic
2011-03-11 13:50:29 -06:00
Denis Kenzior
915d4dc4bd
voicecall: Minor whitespace fix for previous commit
2011-03-11 13:18:36 -06:00
Andras Domokos
0626ff6af8
voicecall: implement SSN handling functions
2011-03-11 13:15:38 -06:00
Andras Domokos
4a36b93d6a
ssn: remove SSN atom completely
2011-03-11 13:08:51 -06:00
Andrzej Zaborowski
4b6d1b1878
stk: Handle Refresh if also performed by modem
2011-03-02 23:29:54 -06:00
Marcel Holtmann
9ab7c19f69
build: Fix wrong include of public header
2011-03-01 23:07:50 -08:00
Lucas De Marchi
413eb0b8f7
location-reporting: don't add client-exit watch too early
...
Wait until driver gives us a file descriptor to start watching for
client exit. This fixes a race when client exits before the driver
calls location_reporting_enable_cb().
2011-03-01 15:48:08 -06:00
Andrzej Zaborowski
2443cdef49
stk: Make sure to reset respond_on_exit
...
This fixes a crash spotted by Lasse Kunnasluoto documented at
http://lists.ofono.org/pipermail/ofono/2011-February/009211.html
2011-02-28 16:14:50 -06:00
Antoine Reversat
7f02e2feeb
voicecall: Add CNAP debugging ofono voicecall
2011-02-25 14:21:14 -06:00
Denis Kenzior
05c378bae9
sim: Document fall through case in switchcase
2011-02-25 11:53:10 -06:00
Jussi Kangas
07c7308581
sim: check lock state with call meter
2011-02-25 11:51:48 -06:00
Jussi Kangas
c5b321e768
sim: Expose the __ofono_sim_recheck_pin API
2011-02-25 11:51:18 -06:00
Jussi Kangas
9007bf6392
sim: Do not teardown SIM state when PIN2 is asked
...
We should not tear down the SIM state if PIN2 is being asked for, or if
PIN2 is blocked and PUK2 is being asked.
We also want to continue with SIM initialization if the modem requires
PIN2 / PUK2 for some reason.
2011-02-25 11:47:23 -06:00
Jessica Nilsson
b4c91cd301
simutil: Add missing SIM enum
2011-02-25 17:21:08 +02:00
Frédéric Danis
1554854be0
emulator: add support of void parameters in CMER
2011-02-24 14:01:29 -06:00
Paavo Leinonen
82b75c0bb6
common: '+' is not valid phone number anymore
...
Reject phone number if it contains only plus sign.
2011-02-24 09:46:48 -06:00
Denis Kenzior
0aa405b48d
emulator: Remove unneeded parens
2011-02-24 09:46:28 -06:00
Rafael Ignacio Zurita
f6a2b25771
location-reporting: add atom implementation
2011-02-23 17:18:06 -06:00
Denis Kenzior
991f32aa5c
emulator: return if SLC is not yet established
2011-02-23 14:07:04 -06:00
Frédéric Danis
bee05efc2a
emulator: add BRSF support
2011-02-23 14:05:19 -06:00
Frédéric Danis
c8f3472e25
emulator: add CMER support
2011-02-23 13:51:01 -06:00
Denis Kenzior
964ae3606a
emulator: Reflow the code slightly
2011-02-23 11:17:28 -06:00
Frédéric Danis
f079d00b4d
emulator: add CIND support
2011-02-23 11:11:53 -06:00
Frédéric Danis
2524bbffdd
emulator: add support of indicators
2011-02-23 11:11:18 -06:00
Frédéric Dalleau
d1062d0e4e
emulator: Disable echo for hfp emulators
2011-02-23 09:31:07 -06:00
Denis Kenzior
d187f9fc8c
emulator: fix whitespace corruption
2011-02-19 16:05:54 -06:00
Gustavo F. Padovan
19e09511b2
emulator: add dialing support
...
It handles client ATD*99# request and then initiate the PPP negotiation.
IP forward through the new ppp interface is not done yet.
Initially based on patches from Zhenhua Zhang <zhenhua.zhang@intel.com>
2011-02-18 13:20:29 -06:00
Denis Kenzior
e8553f5337
sim: Check for SIM lockout condition
...
When a user tries to lock/unlock/change a PIN and enters it wrongly
several times, it is possible to lock themselves out. In this case we
should drop to a pre-sim state, wait for the user to enter the PUK and
re-init the sim.
2011-02-18 11:28:43 -06:00
Denis Kenzior
5543d935c5
sim: Move stuff around and remove forward decl
2011-02-18 11:28:43 -06:00
Denis Kenzior
5d626b6967
sim: move stuff around
2011-02-18 11:28:43 -06:00
Andrzej Zaborowski
f7d4643cc5
stk: Partially handle Refresh command
...
Only the four "NAA initialisation" modes are handled at the moment.
2011-02-17 15:16:34 -06:00
Denis Kenzior
7f43fc0f69
cbs: Set topics on EFcbmid change only if powered
2011-02-17 15:09:17 -06:00
Andrzej Zaborowski
9e640a246a
cbs: Watch for changes to relevant SIM files
2011-02-17 15:09:17 -06:00
Andrzej Zaborowski
1d38e7e075
network: Watch for changes to relevant SIM files
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski
85644e913b
voicecall: Watch for changes to relevant SIM files
2011-02-17 15:09:16 -06:00
Denis Kenzior
ad181b690b
sim: Tweak the behavior of sim_refresh slightly
...
Instead of notifying everyone of sim_inserted condition, we should
simply notify the modem directly. It is the only one interested in this
particular change.
This partly reverts an earlier commit:
9498ad6b5633e350eb529f8efbe08270d95c8003
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski
131d86a2f9
sim: Implement basic Refresh
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski
5815d9547c
modem.c: Handle SIM Resets
...
The assumption so far was that SIM state would only go from
NOT_PRESENT -> INSERTED -> READY -> NOT_PRESENT because there's
no method to unauthenticate from SIM without removing. We need to
be able to switch to INSERTED when SIM is being reset,
reinitialised, etc. because going to NOT_PRESENT and then
immediately INSERTED would be logically wrong.
2011-02-17 15:09:16 -06:00
Frédéric Danis
afe16ba22a
emulator: always create emulators in offline state
...
this allows to fix problem when atom created in online state
are destroyed when modem goes to offline state
2011-02-17 11:25:27 -06:00
Frédéric Dalleau
13cff03373
emulator: unref GIOChannel after creation
2011-02-17 10:07:52 -06:00
Denis Kenzior
4406da382c
devinfo: Handle BT DUN +GMI/+GMM/+GMR commands
2011-02-16 00:23:44 -06:00
Frédéric Danis
421c55bdac
emulator: Handle multiple emulator types
2011-02-16 00:23:44 -06:00
Denis Kenzior
0fed733e9b
emulator: Initial public API implementation
2011-02-16 00:23:44 -06:00
Denis Kenzior
32b4298bfe
sms: return immediately if cached flag is set
2011-02-10 11:08:47 -06:00
Denis Kenzior
3e69defe86
modem: Tweak online & powered watch APIs
2011-02-10 00:34:47 -06:00
Denis Kenzior
09bb5f7554
emulator: Add basic emulator skeleton
2011-02-10 00:34:47 -06:00
Denis Kenzior
458fe585a0
modem: Fix up previous commit
2011-02-10 00:27:01 -06:00
Guillaume Zajac
2b50146a21
modem Add powered watch API
2011-02-10 00:27:01 -06:00