Marcel Holtmann
335ec6f3ea
gprs: Use "Internet" for default PDP context name
2010-08-19 22:36:18 +02:00
Denis Kenzior
18d8584adb
gprs: Automatically add a context if none defined
2010-08-19 15:10:30 -05:00
Denis Kenzior
256e01c8c4
gprs: Add support for GetContexts
2010-08-19 14:20:06 -05:00
Denis Kenzior
a9a54c0933
gprs: Tweak context object path naming
...
And support loading of legacy context names
2010-08-19 14:20:06 -05:00
Denis Kenzior
473e34db66
gprs: Break out writing of gprs context settings
2010-08-19 14:20:06 -05:00
Denis Kenzior
323874790b
gprs: Add ContextRemoved signal
2010-08-19 14:20:06 -05:00
Denis Kenzior
fb4aa43a5d
gprs: Emit the ContextAdded signal
2010-08-19 14:20:06 -05:00
Denis Kenzior
d1a2875a7e
gprs: minor style fix
2010-08-19 14:20:06 -05:00
Denis Kenzior
62b598f704
gprs: Break out context properties append function
2010-08-19 14:20:06 -05:00
Denis Kenzior
4f57fef81b
gprs: Get rid of PrimaryContexts property
2010-08-19 14:20:06 -05:00
Denis Kenzior
8f0796ff4f
gprs: Update CreateContext to AddContext
2010-08-19 14:20:05 -05:00
Denis Kenzior
b73ebe3c83
gprs: Update GPRS related DBus interface names
2010-08-19 14:20:05 -05:00
Denis Kenzior
7e0f28c7b1
sms: Update SmsManager to MessageManager
2010-08-19 14:20:05 -05:00
Pekka Pessi
4cd9a52f4c
fix: Remove extra comma from NotAvailable error
2010-08-19 19:30:27 +02:00
Marcel Holtmann
89e5a75fc1
netreg: Make reset_available returning void
2010-08-19 10:06:17 +02:00
Denis Kenzior
60e091f16f
netreg: Minor style issues
2010-08-18 21:13:14 -05:00
Denis Kenzior
999a754ef7
netreg: Move more stuff around
2010-08-18 21:09:03 -05:00
Denis Kenzior
89f37c9010
netreg: Move stuff around to avoid forward decl
2010-08-18 21:07:50 -05:00
Denis Kenzior
53c5c9b0e2
netreg: Make logic more readable
2010-08-18 21:03:04 -05:00
Denis Kenzior
06f56000ff
gprs: Update Attached when Auto-Attached succeded
2010-08-18 20:56:00 -05:00
Denis Kenzior
84bdd03683
netreg: Move code around to avoid forward decl
2010-08-18 17:53:04 -05:00
Denis Kenzior
b67a324ff4
netreg: Update to the new Scan/GetOperators API
2010-08-18 17:46:51 -05:00
Andrzej Zaborowski
c8c8116db4
stk: Update agent_called with GetInkey & GetInput
2010-08-18 00:27:38 -05:00
Andrzej Zaborowski
5b30157514
stkagent: Free pending call when destroying agent
...
Otherwise we leak memory and additionally D-bus invokes the method
callback and since the agent is already destroyed, we segfault.
2010-08-18 00:27:08 -05:00
Denis Kenzior
e38064a66d
smsutil: Get rid of pointless member
2010-08-17 12:36:26 -05:00
Denis Kenzior
e428bfc3be
smsutil: Simple whitespace fix
2010-08-17 12:10:27 -05:00
Denis Kenzior
cc67a29551
ussd: Be extra pedantic trying to Cancel
...
If we initiated a Respond() transaction, but have not returned from the
callback. Or if we already called Cancel and it hasn't returned yet.
2010-08-16 11:02:05 -05:00
Denis Kenzior
0699de64eb
ussd: Properly handle cancellations
2010-08-16 10:41:35 -05:00
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