Commit Graph

59 Commits

Author SHA1 Message Date
Philippe Nunes c7b359ae98 call-settings: Improve error reporting
Report error based on the error reported by the driver.
2012-08-22 18:18:05 -05:00
Philippe Nunes a571d2887b call-settings: Return specific errors for SS 2012-05-30 09:06:13 -05:00
Lucas De Marchi e0d6f9f0ce Do not set signature and reply in GDBus tables
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi b3489f2ee8 Convert GDBus methods to use macro helpers
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida 924ee02ff7 Constify GDBus signal tables
Constify signal tables with the following command:

    find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Henrique Dante de Almeida 63bbdebdf2 Constify GDBus method tables
Constify method tables with the following command:

find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Marcel Holtmann 7e6afe37bf core: Update copyright information 2011-10-10 13:39:42 -07:00
Nicolas Bertrand 51aee138de call-settings: fix typo 2011-06-16 03:55:58 -05:00
Mika Liljeberg 0eedf42921 core: remove redundant code 2011-03-30 12:33:54 -05:00
Aki Niemi 9f619fd467 call-settings: Fix style issues 2011-02-02 11:03:21 +02:00
Lucas De Marchi 3ef33522e7 call-settings: use enum values
Use the enum values defined for CLIP, CNAP, CLIR, COLP and COLR.
2011-01-25 23:33:20 -06:00
Lucas De Marchi f88f81f132 call-settings: apply rule M11 of coding style 2011-01-18 16:09:27 -06:00
Lucas De Marchi b0d783c6f1 call-settings: add support for cdip 2011-01-18 16:09:27 -06:00
Lucas De Marchi 53b5935455 call-settings: rename CalledLine* properties
COLP and COLR are better named respectively as ConnectedLinePresentation
and ConnectedLineRestriction as stated in 27.007 sections 7.8 and 7.31.

CalledLine* name will be used in future for CDIP.
2010-12-30 11:15:42 -06:00
Lucas De Marchi 3b58a08eaa call-settings: fix getting CNAP property 2010-12-30 11:12:31 -06:00
Gustavo F. Padovan 2d35d977c5 call-settings: add CNAP support 2010-12-16 18:40:18 -06:00
Gustavo F. Padovan abd9f86aad call-settings: fix coding style 2010-12-16 18:40:18 -06:00
Lucas De Marchi b210838e87 core: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 13:27:15 -06:00
Denis Kenzior d1de85e5a4 call-settings: Fix style issues 2010-11-22 16:32:27 -06:00
Denis Kenzior 6c2099fd8e call-settings: fix CLIR Invocation and Suppression
According to 22.030 the *31# version is used to suppress CLIR
and #31# version is used to invoke CLIR.
2010-11-22 16:29:46 -06:00
Jeevaka Badrappan 2d0cb92155 src: coding style fixes - rule M6 2010-11-22 05:07:52 -06:00
Alexander Kanavin 034a13f572 Fix COLR typo 2010-10-07 13:11:18 +02:00
Yang Gu a9aac83e33 ss: Use function to judge if it's busy 2010-09-26 19:50:50 -05:00
Jeevaka Badrappan 4196182770 Fix multi-line comment style issues 2010-09-21 21:16:01 -05:00
Jeevaka Badrappan 0834a7c18d call-settings: Add __ofono_call_settings_is_busy 2010-09-09 10:08:47 -05:00
Yang Gu 58b5303c08 call-settings: Check if ussd is busy 2010-09-09 09:02:05 -05: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 dc16aa7937 Fix: Use snprintf instead of sprintf in the core 2010-02-05 10:33:58 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 955e6a61ee Style: Fix a few more occurences of if/else
See Linux coding style document for details
2009-12-17 21:45:39 -06:00
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Denis Kenzior 933f803967 Add vendor flag to call-settings 2009-09-01 18:14:58 -05:00
Denis Kenzior 60988bed9d Remove unused header 2009-08-17 17:12:12 -05:00
Denis Kenzior 00f606b3e8 Move colr-status enum out of common.h 2009-08-17 15:31:46 -05:00
Denis Kenzior 29c122a9a9 Move colp-status enum out of common.h 2009-08-17 15:31:17 -05:00
Denis Kenzior f989e7844d Move clip-status enum out of common.h 2009-08-17 15:30:34 -05:00
Denis Kenzior 1e6bdb36ec Move clir-status enum out of common.h 2009-08-17 15:29:01 -05:00
Denis Kenzior 255c6ba0d9 Cleanup atom watches properly 2009-08-17 15:14:05 -05:00
Denis Kenzior 5abd3c14d8 Port call-settings to the new USSD API 2009-08-17 15:08:48 -05:00
Denis Kenzior 99e3fe8285 Move CALL_SETTINGS_INTERFACE define to dbus.h 2009-08-14 16:33:48 -05:00
Denis Kenzior fff46fd758 Use atom's modem storage in call settings 2009-08-14 16:31:48 -05:00
Denis Kenzior 9ad3ad6664 Update to use the new atom_free API 2009-08-14 16:31:46 -05:00
Denis Kenzior 04926379e5 Evolve call settings driver 2009-08-14 11:19:10 -05:00
Denis Kenzior fef502bab2 No need to use g_timeout_add here 2009-08-07 17:40:54 -05:00
Andrzej Zaborowski d36f8d868a Use invalid_args instead of invalid_format 2009-08-05 12:20:28 -05:00
Denis Kenzior 3e6d4237cb Remove all uses of modem.h 2009-07-29 16:53:19 -05:00
Denis Kenzior 19eeb7f1ba Rename modem_add_interface / modem_remove_interface
Move to ofono_modem_add_interface, ofono_modem_remove_interface
and put in ofono/modem.h
2009-07-29 16:44:16 -05:00
Denis Kenzior 54816de04d Get rid of dbus-gsm.h 2009-07-29 12:26:06 -05:00
Denis Kenzior 1d8785f8bd Rename dbus_gsm_pending_reply 2009-07-29 12:26:06 -05:00
Denis Kenzior 6728542a01 Rename dbus_gsm_dict_append 2009-07-29 12:26:05 -05:00