Denis Kenzior
f86bc5ebde
dbus: Add Canceled error
2010-08-16 10:41:35 -05:00
Denis Kenzior
d6f81ef17a
gprs: Fix up some attach/detach logic issues
...
Parts of it are related to Meego bug 5193, namely that we don't properly
signal the Attached status when powering down.
Another part of the fix is that we automatically detach in case our
conditions are not fulfilled if the modem attaches automatically (e.g.
Auto-Attach is enabled)
2010-08-13 18:17:04 -05:00
Denis Kenzior
bab23b3976
voicecall: Make hangup_all work for 911 calls
2010-08-13 14:00:43 -05:00
Denis Kenzior
c7b13ec2fe
voicecall: Relax restriction for hangup_active
...
If hangup_active is present, then a single active call in a 3-way
situation is hung up using hangup_active.
2010-08-12 13:15:52 -05:00
Denis Kenzior
fa2c29c84f
voicecall: Move some stuff around
2010-08-12 13:13:53 -05:00
Denis Kenzior
2c9a2b8a99
voicecall: Don't hangup waiting calls
...
During hangup_all operation. For multiparty hangups, waiting calls are
not part of the mpty call.
2010-08-12 11:32:12 -05:00
Denis Kenzior
dcf1c32f4c
voicecall: Make logic bit cleaner
2010-08-12 11:32:12 -05:00
Denis Kenzior
516d1545a1
voicecall: Minor style issues
2010-08-12 11:32:12 -05:00
Denis Kenzior
10e9bdf4c1
voicecall: Reflow the logic of voicecall_hangup
2010-08-12 11:32:12 -05:00
Sjur Brændeland
9a24ece0fb
voicecall: Add support for function hangup_all
...
This patch fixes problem for modems that cannot terminate
DIALING/ALERTING calls with CHUP=1X. The main change is that
voicecall driver's hangup function is split into the functions
hangup_all and hangup_active.
Changes:
- In cases where hangup previously was used, hangup_all is used
if implemented otherwise hangup_active is used.
- Call in state DIALING/ALERTING is released with hangup_active if
implemented.
- manager_hangup_all will simply call hangup_all if implemented.
- manager_hangup_all will release calls in state
ALERTING/DIALING/INCOMING using hangup_active otherwise
release_specific.
2010-08-12 11:32:12 -05:00
Marcel Holtmann
5dc131c8ea
Add a few debug statements to STK core
2010-08-11 14:18:13 -04:00
Marcel Holtmann
fea1d430ed
Add SimToolkitAgent interface to D-Bus configuration
2010-08-10 21:38:16 -04:00
Zhenhua Zhang
6556eda51c
gprs: Fix release cid in gprs_deactive_for_remove
...
Similiar to pri_deactive_callback, we should release the context id in
gprs_deactive_for_remove() as well.
2010-08-09 09:07:30 -05:00
Inaky Perez-Gonzalez
8f570a7969
sms: struct tx_queue_entry: add a destructor
...
Introduce a destructor function to encapsulate all the release steps
for this data type, as more are to be added later.
2010-08-05 11:59:34 -05:00
Inaky Perez-Gonzalez
ed8ef7a1e8
storage: make write_file transaction-safe
...
write_file(), as written wasn't transaction-safe; a crash bewtween a
file being open and the buffer being written before a safe close would
leave the file with a set of undetermined contents.
Modified to the file is written to a temporary file name; once
completed, it is renamed to the final name. This way, a crash in the
middle doesn't leave half-baked files.
2010-08-05 11:59:22 -05:00
Denis Kenzior
8eb9425f32
sim: Use less space for locked_pins
...
Use only as required, since we only track PINs in this one, not PUKs
2010-08-05 10:19:04 -05:00
Denis Kenzior
764afde1fe
sim: Fix LockedPins in case SIM wants a PUK first
...
In the case that oFono is started with the SIM asking for a PUK, we
don't report LockedPins properly.
2010-08-05 10:00:57 -05:00
Denis Kenzior
5a6151a363
stkagent: No need to split these on two lines
2010-08-04 14:49:42 -05:00
Denis Kenzior
9b284c7c35
stk: Rip out the HELP stuff for now
...
We're not supporting it in the current API and doing so is actually
very painful.
2010-08-04 14:47:38 -05:00
Denis Kenzior
7241a0e314
stkagent: Introduce CALLBACK_END macro
2010-08-04 14:40:08 -05:00
Andrzej Zaborowski
c09dfb8473
stk: Handle the Get Input proactive command
2010-08-04 14:29:24 -05:00
Andrzej Zaborowski
e620d7d99e
stkagent: Implement RequestInput/RequestDigits
2010-08-04 14:28:21 -05:00
Andrzej Zaborowski
ed169aa02f
stk: Handle the Get Inkey proactive command
2010-08-04 14:13:16 -05:00
Andrzej Zaborowski
939fc1273c
stkagent: Implement RequestConfirmation/Key/Digit
2010-08-04 14:13:06 -05:00
Denis Kenzior
b952c34c38
stkagent: Remove stk_agent_busy
2010-07-30 18:59:44 -05:00
Denis Kenzior
8697cbbba8
stk: Remove unneeded check
...
The agent_remove_source will be canceled as part of the session agent
destruction notify.
2010-07-30 18:50:38 -05:00
Denis Kenzior
41017a11f5
stk: Fix typo in comment
2010-07-30 18:34:49 -05:00
Denis Kenzior
e2d6d56374
stk: Handle the case where no agent is registered
2010-07-30 18:17:57 -05:00
Denis Kenzior
c2cf374857
stk: Get rid of cancel result
...
And also rework how immediate response display text gets handled.
2010-07-30 17:19:56 -05:00
Denis Kenzior
cf249c9fd7
stk: Introduce destroy semantics to stkagent
2010-07-30 17:19:56 -05:00
Denis Kenzior
27e890cc40
stk: Handle errors when sending to the agent fails
2010-07-30 17:19:56 -05:00
Denis Kenzior
2a1eee38bb
stk: Get rid of nested switch
2010-07-30 17:19:56 -05:00
Denis Kenzior
e5ea6e2193
stk: Handle the new termination semantics
...
The termination semantics were changed in stkagent. Now if an agent
sends an invalid response or an unexpected error, then the agent is
terminated, even if it is the default agent.
2010-07-30 17:19:56 -05:00
Denis Kenzior
e44d130b8c
stk: Simplify sending of terminal responses
...
Introduce a new send_simple_response function
2010-07-30 17:19:56 -05:00
Denis Kenzior
3434540d8b
stkagent: Make DisplayText invocation match API
...
For now we match the proposed API until we decide that changes are
needed.
2010-07-30 17:19:56 -05:00
Denis Kenzior
69ea6cd7a0
stkagent: Remove stk_agent_generic_cb
2010-07-30 17:19:56 -05:00
Denis Kenzior
0292fe12c0
stkagent: Get rid of nasty g_timeout tricks
2010-07-30 17:19:55 -05:00
Denis Kenzior
9684c4a362
stkagent: Get rid of unneeded checks
2010-07-30 17:19:55 -05:00
Denis Kenzior
aa650f7488
stkagent: Shorten logic
2010-07-30 17:19:55 -05:00
Denis Kenzior
1a7179b79d
stkagent: Simplify stkagent logic
2010-07-30 17:19:55 -05:00
Denis Kenzior
7ad5b35a35
stkagent: Refactor stkagent api
2010-07-30 17:19:55 -05:00
Denis Kenzior
dc5a2609b3
stkagent: Rename stk_agent_remove
...
to stk_agent_free
2010-07-30 17:19:55 -05:00
Denis Kenzior
9e00eebe73
stkagent: Reorder stkagent.h
2010-07-30 17:19:55 -05:00
Andrzej Zaborowski
b051f28dbe
stk: Handle the Display Text proactive command.
2010-07-30 17:19:55 -05:00
Andrzej Zaborowski
3714eb8acd
stk: Handle the Select Item proactive command.
2010-07-30 17:19:55 -05:00
Andrzej Zaborowski
47b95122cc
stk: Handle the main menu.
2010-07-30 17:19:55 -05:00
Andrzej Zaborowski
5faa3951c2
stk: Utilities to deal with menus.
2010-07-30 17:19:55 -05:00
Andrzej Zaborowski
9654c69d7d
stk: Add STK agent registration api.
2010-07-30 17:19:54 -05:00
Andrzej Zaborowski
573c806fcd
Add STK agent utilities and logic.
2010-07-30 17:19:54 -05:00
Denis Kenzior
cf86deeb82
netreg: Add MCC/MNC to NetworkRegistration
...
These are the same values as on the NetworkOperator interface for the
current operator. Just added for convenience.
2010-07-27 16:52:16 -05:00