Commit Graph

1185 Commits

Author SHA1 Message Date
Denis Kenzior ee92dc0b62 Add utility to test for valid APN names 2009-10-30 15:52:29 -05:00
Denis Kenzior cc5701c76f Add saving / restoring of netreg settings 2009-10-30 15:23:27 -05:00
Denis Kenzior 6b46d7d363 Add utilities for settings management 2009-10-30 15:22:06 -05:00
Denis Kenzior 6b19de8c07 Fix: Remove unused header include 2009-10-30 13:20:31 -05:00
Denis Kenzior 66653ecfb7 Add Mode property to NetworkRegistration 2009-10-30 12:38:12 -05:00
Denis Kenzior fa33588d40 Fix: style issues 2009-10-30 12:37:23 -05:00
Denis Kenzior c5600c1be2 Fix: Refine the logic for CHLD=1 and CHLD=2 2009-10-30 12:02:43 -05:00
Denis Kenzior 252fd9eb52 Fix: Properly update technologies
When current operator is reported, update the technology list if the
tech information is available
2009-10-29 16:38:25 -05:00
Denis Kenzior a53440d648 Compress the operator list before processing 2009-10-29 16:33:29 -05:00
Denis Kenzior 8172f78ea3 Update the network API 2009-10-29 16:09:32 -05:00
Denis Kenzior 22dc4e229f Add utility to compress plmns that vary by tech 2009-10-29 15:58:32 -05:00
Denis Kenzior 40adc85174 Refactor: Get rid of useless netreg parameter 2009-10-29 15:58:09 -05:00
Denis Kenzior 4e69a94a86 Refactor: Use Technologies instead of Technology 2009-10-29 15:57:02 -05:00
Denis Kenzior 47fa0fb883 Add utility to create a list of supported techs 2009-10-29 15:54:23 -05:00
Denis Kenzior 694cacf4f8 Refactor: Operator registration to DBUS 2009-10-29 15:48:37 -05:00
Denis Kenzior 9f8bc8e6cd Refactor: Internal data structures
This is in preparation to coalescing multiple operators reported by the
driver that vary only by technology into a single operator with multiple
technologies
2009-10-29 15:33:57 -05:00
Denis Kenzior 89a4dc48d4 Update the isimodem driver to the new API 2009-10-29 15:29:55 -05:00
Denis Kenzior 673a0eaae1 Update the atmodem driver to the new API 2009-10-29 15:29:41 -05:00
Denis Kenzior cbc1f998f2 Update the netreg driver to use mcc/mnc
Don't use the ofono_network_operator structure anymore
2009-10-29 15:29:12 -05:00
Denis Kenzior fd6d9f9fc7 Fix: Don't pass ofono_network_operator structures 2009-10-29 15:28:26 -05:00
Denis Kenzior 177c9672d1 Fix: Also auto register when status is unknown 2009-10-29 14:21:04 -05:00
Denis Kenzior a25f11862d Fix: Quiet compiler warning 2009-10-29 14:18:58 -05:00
Denis Kenzior 7ac963a26f Refactor: Make MBM driver actually use EMRDY 2009-10-29 14:18:58 -05:00
Denis Kenzior 8fed5a97fe Fix: Return EINPROGRESS as intended 2009-10-29 14:18:58 -05:00
Claudio Takahasi dab8e45d2e Fix message handling for autostart.
Current implementation of libdbus Request name is blocking, consequently
the first incomming message that triggered the service autostart is not
being processed properly.
2009-10-29 22:49:50 +09:00
Denis Kenzior 8f499841cf Fix: Refine logic for hangup 2009-10-29 00:10:03 -05:00
Denis Kenzior 30cc6d6f4b Fix: This hack is no longer necessary 2009-10-28 23:40:04 -05:00
Denis Kenzior d3778dde97 In the simple single active call case, use hangup 2009-10-28 23:39:15 -05:00
Denis Kenzior b3dccdfd54 Fix: Don't pass the indexes
These can be obtained inside the function anyway
2009-10-28 19:23:25 -05:00
Denis Kenzior 2c5ea9d4ee Fix: No need to set this to NULL 2009-10-28 17:40:35 -05:00
Denis Kenzior c41a8ced81 Cleanup: Fixup style 2009-10-28 17:40:06 -05:00
Zhenhua Zhang 4a36fc7c82 Add voicecall driver for Bluetooth HFP
HFP voicecall driver uses AT+CIEV indicator to notify call status
update according to Bluetooth HFP spec v1.5. This patch only adds single
call support.
2009-10-28 17:33:33 -05:00
Zhenhua Zhang 57aaf9813f Refactor: Move alloc/release id to atutil.c 2009-10-28 17:31:44 -05:00
Zhenhua Zhang 17903940c5 Refactor: Move & Rename functions to atutil.c
Move and rename call_compare and call_compare_by_status to atutil.c.
These will be utilized by other drivers, including hfpmodem.
2009-10-28 17:30:02 -05:00
Denis Kenzior 6d31b05b95 Cleanup previous patch 2009-10-28 16:56:45 -05:00
Ryan Raasch a55b43123f Add serial settings parser to modemconf plugin 2009-10-28 16:39:19 -05:00
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