Commit Graph

1666 Commits

Author SHA1 Message Date
Aki Niemi 02acd8441d Enable USSD_STATE_USER_ACTION
If the network requests user action in the response to an MO USSD, we
cannot immediately return to USSD_STATE_USER_IDLE. Instead,
USSD_STATE_USER_ACTION is entered.

Note that it is left up to the driver to notify() when the USSD
transaction is closed by the network due to inactivity. Another way to
return to USSD_STATE_IDLE is for the user to cancel() the transaction.
2010-02-09 23:19:11 +02:00
Aki Niemi d12e1a8b9e Add isimodem USSD implementation 2010-02-09 23:15:52 +02:00
Aki Niemi 7001e7b163 Add USSD codepoints and debugging 2010-02-09 22:50:38 +02:00
Aki Niemi 8730339f40 Move USSD status enum to header 2010-02-09 22:31:32 +02:00
Denis Kenzior 6d28f82dc1 Add Wavecom's quirky CPIN handling 2010-02-08 16:13:43 -06:00
Denis Kenzior ea771ec186 Fix: Tweak gprs attach logic
We use driver_attached to track whether the driver is attached /
attaching.  Unfortunately we only set it when set_attached succeeds.
Instead we should set it right away when calling set_attached, so we
cover pending attaches as well.
2010-02-08 15:33:17 -06:00
Denis Kenzior d11505f751 Fix: Add recheck flag to gprs
When a powered is toggled quickly, we ignore the second request.  This
flag tells us that we should recheck what the attach status should be
once the current operation finishes
2010-02-08 15:32:04 -06:00
Denis Kenzior c98b951fe6 Refactor: Remove atutil dump_response
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
2010-02-08 12:28:23 -06:00
Denis Kenzior 7f9a9b0cdc Fix: Don't use ofono_debug directly in plugins 2010-02-08 12:09:01 -06:00
Denis Kenzior 87ca1b0c8f Fix: Don't use ofono_debug directly in the core
Use DBG macro which is integrated with the new debug framework.
2010-02-08 11:54:03 -06:00
Denis Kenzior c02dc9c68b Fix: Simplify overly complex error handling 2010-02-05 17:31:13 -06:00
Denis Kenzior 5237a12ca2 Style: Rename variables to better indicate arrays
Variables that hold arrays of strings should be named more appropriately
to help indicate this.
2010-02-05 17:25:53 -06:00
Denis Kenzior 8dc538e252 Style: No need for void here 2010-02-05 17:24:18 -06:00
Denis Kenzior 8930371e32 Mention Vinicius' contributions 2010-02-05 17:15:35 -06:00
Vinicius Costa Gomes e20587631d hfp: Fix memory leak when listing bluetooth devices 2010-02-05 17:15:16 -06:00
Gustavo F. Padovan 805a6c47d3 hfp: wait Disconnect reply to power down the modem 2010-02-05 13:35:43 -06:00
Gustavo F. Padovan edb98c16e8 Fix: Don't call UnregisterAgent if already Released
Prevent to call UnregisterAgent on an already unregistered agent.
2010-02-05 13:34:33 -06:00
Gustavo F. Padovan 4522c9686d hfp: create modem for new devices paired on runtime
It listens the UUIDs property to create a modem from the recently paired
devices. It also renames added_watch to adapter_watch, a more proper
name.
2010-02-05 13:33:13 -06:00
Denis Kenzior a7b421e358 Update gitignore 2010-02-05 12:21:34 -06:00
Denis Kenzior bfeef21a9d Fix: Send *EIAAUW after CGDCONT for STE and MBM
Otherwise the EIAAUW might fail.
2010-02-05 12:20:45 -06:00
Denis Kenzior 8268c4fe62 Fix: Use snprintf instead of sprintf in hsomodem 2010-02-05 12:01:59 -06:00
Denis Kenzior 37088e19f0 Fix: Use snprintf instead of sprintf in mbmmodem 2010-02-05 12:01:45 -06:00
Denis Kenzior 098bc04347 Fix: Use snprintf instead of sprintf in calypso 2010-02-05 12:01:27 -06:00
Denis Kenzior ced9692361 Fix: Use snprintf instead of sprintf in stemodem 2010-02-05 12:01:13 -06:00
Denis Kenzior d223243913 Fix: Use snprintf instead of sprintf in HFP 2010-02-05 12:00:14 -06:00
Denis Kenzior 1721f81fe9 Fix: Use snprintf instead of sprintf in atmodem 2010-02-05 11:59:24 -06:00
Denis Kenzior dc16aa7937 Fix: Use snprintf instead of sprintf in the core 2010-02-05 10:33:58 -06:00
Aki Niemi dfab0764da Add isimodem radio settings driver 2010-02-04 23:43:18 +02:00
Aki Niemi bf6195f0c2 Add PN_GSS codepoints and debugging 2010-02-04 23:43:18 +02:00
Aki Niemi 8d4004d182 Add radio settings atom and driver API
This interface exposes a read-write property for radio access technology
selection mode.
2010-02-04 23:43:18 +02:00
Denis Kenzior 7bab47f07b Fix: No need to check for handsfree_path now 2010-02-04 13:49:36 -06:00
Denis Kenzior 5a6bbd113d Cleanup: Refactor handling of failed connections 2010-02-04 13:49:36 -06:00
Denis Kenzior 4822b21b4d Cleanup: Modem creation 2010-02-04 13:49:33 -06:00
Denis Kenzior 1cd4bf036f Add function to handle SLC handshake failures 2010-02-04 13:13:57 -06:00
Denis Kenzior c9b80a73c1 Fix: Don't send undefined values to the core 2010-02-04 00:26:20 -06:00
Denis Kenzior ad5b2fd26f Fix: Unnecessary initializations 2010-02-04 00:24:14 -06:00
Denis Kenzior d3c2535fae Fix: Dead Assignments 2010-02-04 00:14:49 -06:00
Denis Kenzior 08b26238c1 Fix: missing break statement 2010-02-04 00:05:57 -06:00
Denis Kenzior 8d8f5d90a0 Fix: Dead Assignment 2010-02-04 00:00:00 -06:00
Denis Kenzior e5bcf50a0c Fix: Wrong variables use
Copy/paste error from above resulted in incorrect variables being used
for comparison.
2010-02-03 23:58:27 -06:00
Denis Kenzior fa433a6acc Fix: Check for \r in UCS2 alphabets 2010-02-03 23:28:41 -06:00
Denis Kenzior 2f6c2978ea Update overview.txt 2010-02-03 13:47:52 -06:00
Gustavo F. Padovan ed4cf758b7 Remove dead assignments at gatchat 2010-02-03 00:12:49 -06:00
Aki Niemi 0a28c46bf7 Fix debug dump and unknown codepoint handling 2010-02-02 22:39:33 +02:00
Zhenhua Zhang 2a58101807 Fix change state immediately when meet the slash
According to V.250 spec section 5.2.4 Repeating a command line, if
the prefix "A/" or "a/" is received, we should execute the last
command immediately. No need to meet \r.
2010-02-02 11:31:23 -06:00
Denis Kenzior ae25d1e910 Fix: Ignore CBM pdus bigger than 88 bytes 2010-02-02 11:13:22 -06:00
Denis Kenzior a4b681f02f Fix: Remove unused label 2010-02-01 18:02:40 -06:00
Denis Kenzior 32e329e7d3 Fix: Don't leak memory 2010-02-01 17:59:29 -06:00
Denis Kenzior 321bb02ee3 Fix: Skip whitespace in AT command line 2010-02-01 17:59:29 -06:00
Denis Kenzior 57d62a0b42 Refactor: Use more flexible parser framework 2010-02-01 17:59:29 -06:00