Commit Graph

1580 Commits

Author SHA1 Message Date
Denis Kenzior 392f092ee0 Style: Various whitespace issues 2010-01-27 16:37:50 -06:00
Denis Kenzior 911b24c12d Style: Don't go over 80 characters 2010-01-27 16:37:32 -06:00
Denis Kenzior 971e4c7345 Fix: Remove unused includes 2010-01-27 16:19:46 -06:00
Gustavo F. Padovan abf86ae5fa Add copyright note to the HFP plugin 2010-01-27 14:34:48 -06:00
Denis Kenzior a011fa9bac Mention Zhigang's contributions 2010-01-27 14:28:51 -06:00
Denis Kenzior 79292924a2 Mention Gustavo's contributions 2010-01-27 14:28:50 -06:00
Marcel Holtmann 59eeea0ebc Remove wrong copyright statement within HFP plugin 2010-01-27 21:22:19 +01:00
Marcel Holtmann 49233dbc2f Limit HFP plugin loading to D-Bus 1.3 only systems 2010-01-27 21:18:07 +01:00
Gustavo F. Padovan ac6672e9b3 Add HFP support through BlueZ
It uses BlueZ through to get HFP working following the
org.bluez.HandsfreeGateway and org.bluez.HandsfreeAgent from
the BlueZ D-Bus API.

You need the HFP suport into BlueZ and the new D-Bus 1.3 or
later with fd-passing support.

Many thanks to Zhenhua Zhang <zhenhua.zhang@intel.com> for its
prototype on this code.
2010-01-27 21:18:07 +01:00
Denis Kenzior 5e94e2bad8 Fix: Remove username/password elements
The reason for this is twofold.  First the current code actually leaks
memory since it uses g_strdup on username/password and never frees it
anywhere.  Second the username/password command can just be sent inside
activate_primary, no reason to do it in the callback.

The fix removes the username / password structure members and moves the
AT*EIAAUW handling to activate_primary.  This is almost exactly like the
username / password / context definition for MBM modems.
2010-01-27 13:59:05 -06:00
Denis Kenzior dda8b972ba Style: Couple more fixes 2010-01-27 13:46:12 -06:00
Denis Kenzior b52a6e60c7 Fix: Remove pointless error labels 2010-01-27 12:57:16 -06:00
Denis Kenzior 8e07c9c5d8 Style: Various indentation and spacing issues 2010-01-27 12:53:49 -06:00
Denis Kenzior 083e448fa5 Style: No space after function name 2010-01-27 12:41:49 -06:00
Denis Kenzior 09afdaa19e Style: Use proper comment formatting 2010-01-27 12:38:27 -06:00
Denis Kenzior 081c7a3138 Style: Don't use underscore 2010-01-27 12:33:11 -06:00
Sjur Brændeland b0106d1225 Add STE modem support for GPRS PDP Contexts 2010-01-27 12:16:43 -06:00
Gustavo F. Padovan 0391f0a9bf Enable passing of modem name via command line 2010-01-27 12:12:28 -06:00
Marcel Holtmann 4c6497e317 Remove unneeded use of status variable 2010-01-27 09:50:24 +01:00
Forrest Zhao 57013cfa0d Introduce g_dbus_setup_private() to gdbus
g_dbus_setup_private() is used to setup private DBusConnection
2010-01-27 09:50:24 +01:00
Marcel Holtmann 2bece5fe0d Mention Sjur's contributions 2010-01-26 10:11:36 +01:00
Marcel Holtmann a82a62bd31 Remove empty block for SIGPIPE handling 2010-01-26 10:07:56 +01:00
Marcel Holtmann e4850f2eeb Add support for dynamic debug feature 2010-01-26 10:06:53 +01:00
Marcel Holtmann b334372ef8 Remove unused declarations 2010-01-25 21:22:32 +01:00
Marcel Holtmann 802a62287a Fix build breakage from STE modem patches 2010-01-25 21:03:57 +01:00
Sjur Brændeland 1cf63094c5 Add STE modem plugin to build system 2010-01-25 20:59:48 +01:00
Sjur Brændeland e564dcf1cb Add STE modem plugin 2010-01-25 20:58:34 +01:00
Sjur Brændeland cb264e3b81 Add CAIF header files in drivers/stemodem/
These should go away when CAIF is part of Linux kernel.
2010-01-25 20:58:26 +01:00
Sjur Brændeland fd73261cd5 Add STE modem driver definition 2010-01-25 20:56:26 +01:00
Sjur Brændeland 040e799665 Add STE modem support for GPRS and network registration 2010-01-25 20:55:10 +01:00
Sjur Brændeland c664f80f22 Add at_util_call_compare_by_id function 2010-01-25 20:53:57 +01:00
Denis Kenzior 445fc378b5 Fix: Support devices with CSCB mode 0 only
MBM devices do not support CSCB mode 1 (remove topics).  It is thus
necessary to use mode 0 and sending an empty topic list in order to turn
off all topics.  This patch will first query the CSCB modes supported by
the hardware.  If mode 1 is supported, then the old behavior is used,
otherwise the new behavior is used.
2010-01-20 22:07:51 -06:00
Denis Kenzior 675ef623c7 Fix: Process CBS settings even if no EFcbmid
If EFcbmid is not present, corrupt or empty the code that bootstraps the
CBS settings is never called.
2010-01-20 21:35:33 -06:00
Denis Kenzior 03fd69ace9 Fix: Print errors for unlikely CBS failures
These indicate driver / hardware issues rather than anything else.
2010-01-20 21:34:19 -06:00
Denis Kenzior ea6ab1ea2b Fix: NULL check both set_topics and clear_topics 2010-01-20 21:08:52 -06:00
Denis Kenzior 11de395af9 Fix: Make the powered setting actually work 2010-01-20 21:03:17 -06:00
Denis Kenzior aebda1ac94 Refactor: Reorder argument order
The order of arguments was a bit confusing, reorder them to make more
logical sense.
2010-01-20 14:21:22 -06:00
Zhenhua Zhang 7145edd3a4 Add gatutil.c to share common APIs with GAtServer
Add gatutil.c/h gat.h and move shared typedef and APIs into it.
So that they can be shared by GAtServer and GAtChat.
2010-01-20 14:13:57 -06:00
Denis Kenzior e829727224 Fix: Default to powered=true for CBS 2010-01-20 10:26:02 -06:00
Denis Kenzior 239c08299c Mention Jussi's contributions 2010-01-20 10:16:24 -06:00
Denis Kenzior 652825eb71 Style: Don't go over 80 characters per line 2010-01-20 10:14:01 -06:00
Jussi Kukkonen ebe8904f39 Add quirk for cid and lac handling for Huawei 2010-01-20 10:09:54 -06:00
Marcel Holtmann e433ddc100 Add command line option for printing version number 2010-01-16 19:29:43 -08:00
Denis Kenzior e8d18946b9 Fix: One more fix for disconnect detection
In situations where lots of data is generated by the remote side (e.g.
phonebook is being read) we can get our ring buffer filled up.  In this
case setting rbytes to zero first and then breaking out of the loop
leads to an erroneous disconnect detection.  The fix is to move setting
of rbytes after we know we still have some space.
2010-01-15 10:24:01 -06:00
Denis Kenzior aec5b8a44f Fix: Make remote disconnect detection work 2010-01-14 10:26:12 -06:00
Aki Niemi 8fe8220b23 Refactor phonebook driver 2010-01-14 10:33:48 +02:00
Aki Niemi 65ce05d37a Refactor supplementary service drivers 2010-01-14 10:33:48 +02:00
Aki Niemi 5a1a5905d4 Refactor SIM driver 2010-01-14 10:33:47 +02:00
Aki Niemi e1548d2730 Refactor CBS driver 2010-01-14 10:32:57 +02:00
Aki Niemi 85df7a952a Clean up style issues 2010-01-14 10:32:56 +02:00