Commit Graph

1343 Commits

Author SHA1 Message Date
Denis Kenzior b96e33b692 Fix: Add username/password support to mbm context 2009-12-01 16:08:12 -06:00
Denis Kenzior 184eb91aa6 Fix: Make sure we don't overflow the buffer 2009-12-01 16:05:20 -06:00
Denis Kenzior a514983981 Fix: Force calypso to return to command mode ASAP
Calypso firmware is just bizarre.  It seems that if anything is sent
before CPI=3 to the DLC handling voice commands, the ATD will not return
to command mode immediately, but instead wait until connected / failed
condition occurs.

If CPI=3 is sent first, then calypso will go to command mode immediately
after ATD is issued and report CPI indications as usual.
2009-12-01 12:45:44 -06:00
Denis Kenzior 5323e37bc8 Fix: Remove duplicate atoms from calypso plugin 2009-12-01 12:45:44 -06:00
Denis Kenzior d2bcc0921d Fix: Simplify logic to use g_memdup 2009-12-01 12:45:40 -06:00
Denis Kenzior d1e62194ef Fix: Disable echo on all calypso DLCs 2009-12-01 12:42:23 -06:00
Denis Kenzior e8ac4e5368 Fix: Be more signed/unsigned correct 2009-12-01 12:42:23 -06:00
Denis Kenzior 55572b6e69 Style: Use unsigned int instead of unsigned 2009-12-01 12:42:23 -06:00
Zhenhua Zhang 7254f8ac86 Fix: Reset call_ids when modem is powered off 2009-11-26 08:08:17 -06:00
Denis Kenzior 78008c6022 Update calypso plugin to the new wakeup handling 2009-11-26 07:44:25 -06:00
Denis Kenzior 48a61b6d06 Fix: Retry the wakeup command until the modem OKs
The calypso is weird where it doesn't actually wakeup on the first try,
we need to bang its head a few times until it responds
2009-11-26 07:44:25 -06:00
Denis Kenzior 37384ddb9c Fix: Make Calypso handling a bit better 2009-11-26 07:44:25 -06:00
Denis Kenzior d91c61e621 Fix: None of this seems necessary for the Calypso 2009-11-26 07:44:25 -06:00
Marko Saukko 757c8f096c Add udev rules for Option GI0201 and GTM382 modems 2009-11-25 11:04:48 +01:00
Zhenhua Zhang 64015ff4b8 Fix: Move CHLD from voicecall driver to plugin
According HFP v1.5 spec, AT+CHLD=? should be a part of SLC
connection. So we should not do it after SLC connection is
created.
2009-11-24 20:43:41 -06:00
Zhenhua Zhang a4a4bddbe9 Fix: Order of CMER and CIND in SLC connection
According to the HFP 1.5 specification the order of commands is actually
important.  The required sequence is to use CIND=?, CIND? and then CMER.
Currently oFono issues commands in the order of CIND=?, CMER, CIND?
2009-11-24 20:39:19 -06:00
Zhenhua Zhang c77f1d0cc9 Fix: Add check for register_auto method
Add check for register_auto method to avoid crash. HFP backend
does not provide implementation for register_auto.
2009-11-24 20:36:56 -06:00
Martin Xu 5cc3323cd1 Fix: handle weird Dell 5530 mbm card network name 2009-11-24 14:54:46 -06:00
Zhigang Li 3aec8d4ac7 Fix: Send all SMS segments 2009-11-24 14:49:48 -06:00
Marcel Holtmann 0333ad8580 Move g_at_chat_add_terminator after chat object is verified 2009-11-24 18:08:46 +01:00
Yang Gu 4bc444e9a8 Support Huawei specific terminator 2009-11-24 18:06:45 +01:00
Yang Gu d9acd12fae Framework to support non-standard terminator 2009-11-24 18:06:20 +01:00
Denis Kenzior 6e0eb3cfd5 Fix: Change order of init commands
This seems to make the calypso return from ATD right away instead of
waiting for connect/busy to be returned.  It should now be possible to
hangup alerting calls.
2009-11-23 19:56:41 -06:00
Denis Kenzior d6f5ac3767 Fix: Make sure we don't gobble up unsolicited 2009-11-23 19:56:24 -06:00
Denis Kenzior ca025eb905 Fix: Make sure we don't gobble up unsolicited 2009-11-23 19:55:59 -06:00
Denis Kenzior 4c64f30438 Fix: Try sending AT<CR>
Sometimes <CR> doesn't work
2009-11-23 19:55:16 -06:00
Marcel Holtmann fbae76a16f Release 0.11 2009-11-24 01:06:55 +01:00
Marcel Holtmann df0c6b07a8 Add first version of script for applying GPRS settings 2009-11-24 00:50:06 +01:00
Marcel Holtmann 231aca4a69 Get rid of the pointless checks before g_free in GPRS engine 2009-11-24 00:27:22 +01:00
Marcel Holtmann 5253d82057 Add support bringing GPRS interfaces up and down as needed 2009-11-24 00:26:09 +01:00
Martin Xu 040d660d41 Emit settings signal before active signal 2009-11-23 09:07:57 +01:00
Zhenhua Zhang f3fe75553a Add mpty field to ofono_call
A field 'mpty' is added to ofono_call so that we can know
whether the call belongs to multiparty call or not. According
to 27.007 7.18, it is a defined return value of AT+CLCC.
2009-11-23 09:04:48 +01:00
Zhenhua Zhang bbc2eecd6f Fix: Poll CLCC to replace the code in call_held=1
When using CHLD=2x in multiparty call, call_held is 1 and we
should not swap all active->held. So we cannot save this pull
in private chat.
2009-11-20 09:37:37 +01:00
Marcel Holtmann 676569581c Add pretty decoding for DomainNameServers settings 2009-11-19 04:52:09 +01:00
Denis Kenzior 9f931378c7 Fix: warnings 2009-11-18 18:07:11 -06:00
Denis Kenzior 781a9eedf3 Turn off echo on HSO modems 2009-11-18 18:07:11 -06:00
Denis Kenzior 19758e3520 Get rid of a few debugs 2009-11-18 18:07:11 -06:00
Denis Kenzior b77d392bc8 Make HSO context driver use OWANCALL/OWANDATA 2009-11-18 18:07:11 -06:00
Denis Kenzior efd34778d1 Add CALLBACK_WITH_SUCCESS 2009-11-18 18:07:11 -06:00
Denis Kenzior 8722828eb3 Parse the weird response of _OWANDATA
The strings are unquoted and preceded by space.  Don't these people read
specs?
2009-11-18 18:07:11 -06:00
Denis Kenzior 08ff8b6cd9 Make HSO modem driver use App & Control ports
The Application port gets all unsolicited notifications except for
OWANCALL notifications.  In turn only the Control port gets OWANCALL
notifications.

This means that we run GPRS Context control on the Control port and
network registration / sms on the application port
2009-11-18 18:07:11 -06:00
Denis Kenzior d4fb6d1a8c Make HSO support detect Application & Control port 2009-11-18 18:07:10 -06:00
Denis Kenzior eec0dbfb85 Fix: Use none_prefix
Do not eat up unsolicited notifications that might arrive as a result of
CFUN=0
2009-11-18 18:07:10 -06:00
Denis Kenzior 0a9766cbab Fix: Properly send & parse _OWANDATA 2009-11-18 18:07:10 -06:00
Denis Kenzior 0ef8ac7174 Fix: Send username and password properly 2009-11-18 18:07:10 -06:00
Denis Kenzior 0d099a37ba Add disable-modem script 2009-11-18 18:07:10 -06:00
Denis Kenzior 781f9cc0d0 Add initial HSO GPRS context driver 2009-11-18 18:07:10 -06:00
Marcel Holtmann 49203cce1b Decode the settings information of a context 2009-11-18 22:37:46 +01:00
Marcel Holtmann 640d2c95b9 Add some extra pretty decoding to monitor script 2009-11-18 22:37:25 +01:00
Denis Kenzior fa3fa12403 Update docs with new Errors 2009-11-18 13:25:35 -06:00