Denis Kenzior
f83bb9d7b7
Cleanup previous patch and update docs
2009-10-28 16:38:55 -05:00
Ryan Raasch
c630300c99
Refactor: Capitalize g_at_tty option names
2009-10-28 16:36:33 -05:00
Denis Kenzior
ba9f38b09e
Fix: Take care of the logic for Dialing
...
The logic for dialing a call while other calls are in the system is a
bit more complicated than what was implemented.
There are several cases to consider:
- Active Call and Held Call
In this situation we cannot dial, the user must drop one of the
calls.
- Active Call and Waiting Call -> We have to put the active call on
hold, unfortunately there is no standard command to do so without
affecting the waiting call. If the modem has a vendor specific
implementation, then try to use that.
- Active Call only -> Put the active call on hold. We use the
swap_without_accept implementation (if exists) to be safe, otherwise
we fall back to hold active calls.
- No Active calls -> Simply dial
2009-10-28 14:36:14 -05:00
Denis Kenzior
3ad86847ec
Refactor: Avoid unnecessary forward declarations
2009-10-28 14:28:51 -05:00
Denis Kenzior
32f013f386
Refactor: Move more code around
...
Avoid unnecessary forward declarations
2009-10-28 14:27:39 -05:00
Denis Kenzior
efd4f4b361
Refactor: Move code to avoid forward declaration
2009-10-28 14:23:51 -05:00
Denis Kenzior
466d70797f
Refactor: Get rid of PENDING_FLAG in voicecalls
...
the pending variable was enough already. Also refactor to use
__ofono_dbus_pending_reply to make the code much more readable.
2009-10-28 14:12:21 -05:00
Denis Kenzior
db44cc0e1c
Add utility to parse CLIR option
2009-10-28 13:06:34 -05:00
Denis Kenzior
24d8a5722b
Refactor: replace netreg get_operator with mcc/mnc
...
The full operator information is useless as only mcc/mnc are really
required. The internal structures will be changing soon
2009-10-27 19:47:52 -05:00
Denis Kenzior
ed813455c2
Fix: Don't emit spurious Base Station Name signal
2009-10-27 14:41:43 -05:00
Denis Kenzior
ed1d8a6fab
Fix: Skip empty emergency numbers
2009-10-27 12:47:42 -05:00
Denis Kenzior
25ef3f8b18
Fix: Obscure crash when GPRS is not supported
2009-10-27 12:39:20 -05:00
Denis Kenzior
30609627bf
Fix: Properly unregister context on exit
2009-10-27 12:39:09 -05:00
Denis Kenzior
fa8eb23d3f
Fix: Use driver_attached instead of attached
2009-10-26 18:30:41 -05:00
Denis Kenzior
e63ea23557
Make netreg_update based on CREG, not CGREG
2009-10-26 17:26:19 -05:00
Denis Kenzior
4f85ee5c97
Simplify logic in netreg_update
2009-10-26 17:25:52 -05:00
Denis Kenzior
078e2bdc2a
Fix unused variable warning
2009-10-26 17:00:35 -05:00
Denis Kenzior
4552b0c26a
Don't cause an infinite loop
2009-10-26 17:00:18 -05:00
Denis Kenzior
ae1192ba99
Get rid of the AFTER_ROAMING stuff
2009-10-26 16:58:24 -05:00
Denis Kenzior
c7a113dbd2
Ignore gprs status when not attached/attaching
2009-10-26 16:57:21 -05:00
Denis Kenzior
d5fe6dce96
Update attached status when gprs status changes
2009-10-26 16:56:52 -05:00
Denis Kenzior
bc72cca91b
Fix: notify_attached was only used when detached
...
The standard only specifies that the context might have been detached by
the network / mobile equipment. Not attached.
2009-10-26 16:55:03 -05:00
Denis Kenzior
e0603f0c68
Add a master function for updating attached state
2009-10-26 16:54:18 -05:00
Denis Kenzior
fe974ea4f2
Fixup initialization logic
2009-10-26 16:20:36 -05:00
Denis Kenzior
ca4f75ca0b
Fix: Initialize registration statuses
2009-10-26 16:19:54 -05:00
Denis Kenzior
6f9b5be3d5
Fix: Reset netreg to 0 when unregistered
2009-10-26 16:18:17 -05:00
Andrzej Zaborowski
939be2adc2
Refactor: Make GPRS use information from netreg
2009-10-26 13:34:41 -05:00
Andrzej Zaborowski
53414483d3
Fix: Don't attach if searching
...
Don't ask driver to attach GPRS if modem is already searching for an
operator.
2009-10-26 13:32:26 -05:00
Andrzej Zaborowski
4779ed055a
Fix interpretation of new GPRS registration status signal.
2009-10-26 13:29:41 -05:00
Denis Kenzior
50ae504bc6
Fix: Fix segfault from improperly initialized data
2009-10-24 12:39:31 -05:00
Denis Kenzior
1af138d6ec
Fix: Register for E2NAP notifications
2009-10-24 12:39:31 -05:00
Denis Kenzior
1a80f85994
Fix: ENAP=0 is the only way to use this
2009-10-24 12:39:31 -05:00
Marcel Holtmann
0bf1401589
Remove support for call forwarding and barring from MBM plugin
2009-10-25 01:14:26 +09:00
Marcel Holtmann
dde6f94406
Add test script for activating the first context
2009-10-25 01:06:45 +09:00
Marcel Holtmann
ecc5421957
Add simple test script for creating a context and setting APN
2009-10-25 00:57:32 +09:00
Marcel Holtmann
6cefd2e693
Fix tiny copy-and-past left-over
2009-10-25 00:51:29 +09:00
Marcel Holtmann
0516900c72
Add test script for showing primary data contexts
2009-10-25 00:49:08 +09:00
Marcel Holtmann
8864778c02
Add some extra special handling to list-modem test script
2009-10-25 00:42:23 +09:00
Andrzej Zaborowski
427224e9f8
Register gprs-context on calypso modem/phonesim.
2009-10-24 10:27:11 -05:00
Andrzej Zaborowski
87f4e3890d
Just return success when value already set in SetProperty.
2009-10-24 10:27:06 -05:00
Denis Kenzior
ffd7c1920a
Fix: Some modems report PDP_type in a list
2009-10-23 17:05:57 -05:00
Denis Kenzior
5cfe541582
Add GPRS context setup to MBM plugin
2009-10-23 17:05:56 -05:00
Denis Kenzior
722204ae6c
Fix: Connect up gprs and gprs_context
2009-10-23 17:05:56 -05:00
Denis Kenzior
7faa34d235
Fix: Typo in property name
2009-10-23 17:05:56 -05:00
Denis Kenzior
a66de6880a
Add initial implementation of MBM gprs context
2009-10-23 17:05:56 -05:00
Denis Kenzior
c3772c2bb6
Fix: Update Init string & shutdown string for mbm
2009-10-23 17:05:56 -05:00
Denis Kenzior
3408fc5094
Register for CGEV indications in gprs context
2009-10-23 17:05:56 -05:00
Denis Kenzior
14c116be36
Remove unused code and make compiler happy
2009-10-23 17:05:56 -05:00
Denis Kenzior
d6161ddb61
Add basic atmodem gprs context implementation
2009-10-23 17:05:56 -05:00
Denis Kenzior
a3b736afe5
Add implementation of GPRS context atom
2009-10-23 17:05:56 -05:00