[PATCH v0 0/6] HFP HF: External Profile

2013-01-10 Thread Claudio Takahasi
This is the first group of the patches which introduces the Handsfree BlueZ external profile. The following patches contain only initial files and basic structures for the HFP HF plugin (since files and plugins names are one of controversial points). Remaining HFP HF patches:

[PATCH v0 1/6] Makefile: Enable BlueZ 4 and BlueZ 5

2013-01-10 Thread Claudio Takahasi
This patch enables BlueZ 4 and BlueZ 5 plugins if --enable-bluetooth is informed. BlueZ 5 will be the default Bluetooth plugin. For BlueZ 4, there is an additional BlueZ Library package version verification. --- Makefile.am | 4 +++- configure.ac | 10 +++--- 2 files changed, 10

[PATCH v0 3/6] bluetooth: Initial files for BlueZ 5

2013-01-10 Thread Claudio Takahasi
This patch adds the file for Bluetooth(BlueZ 5) oFono plugin. --- Makefile.am | 8 plugins/bluez5.c | 33 + 2 files changed, 41 insertions(+) create mode 100644 plugins/bluez5.c diff --git a/Makefile.am b/Makefile.am index 85824be..69cc61d 100644

[PATCH v0 4/6] hfp_hf: Add initial file for external HFP

2013-01-10 Thread Claudio Takahasi
This patch adds the initial file to support external HFP profile and BlueZ 5. hfp_bluez5 plugin will implement an external Bluetooth profile compatible with BlueZ 5, and hfp plugin will keep the compatibility with BlueZ 4. Both plugins can be enabled in the system. --- Makefile.am |

[PATCH v0 5/6] hfp_hf: Add hfp_driver

2013-01-10 Thread Claudio Takahasi
Adds HFP modem driver registration. --- Makefile.am | 4 +- plugins/bluez5.c| 112 plugins/bluez5.h| 29 + plugins/hfp_hf_bluez5.c | 80 ++ 4 files changed, 223

[PATCH v0 6/6] hfp_hf: Add BlueZ Profile handler

2013-01-10 Thread Claudio Takahasi
This patch declares the external HFP Profile handler. It contains the initial implementation of the D-Bus Profile1 interface and methods responsible for handling Bluetooth connections. --- plugins/bluez5.h| 2 ++ plugins/hfp_hf_bluez5.c | 74

[PATCH mmsd 1/3] README: add information about mailing list

2013-01-10 Thread Lucas De Marchi
--- README | 6 ++ 1 file changed, 6 insertions(+) diff --git a/README b/README index e33be69..fdfeafb 100644 --- a/README +++ b/README @@ -19,3 +19,9 @@ Configure automatically searches for all required components and packages. To compile and install run: make make install +

[PATCH mmsd 2/3] build: Do not use deprecated AM_CONFIG_HEADER

2013-01-10 Thread Lucas De Marchi
The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13. Use AC_CONFIG_HEADERS instead. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6b5e1b1..dd8e93a 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7

[PATCH mmsd 3/3] build: Use AM_CPPFLAGS instead of INCLUDES

2013-01-10 Thread Lucas De Marchi
Makefile.am:49: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f802388..ee2c715 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,7 +46,7 @@ AM_CFLAGS =

[PATCH 1/4] build: Do not use deprecated AM_CONFIG_HEADER

2013-01-10 Thread Lucas De Marchi
The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13. Use AC_CONFIG_HEADERS instead. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2d6247d..badbf9b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7

[PATCH 2/4] build: Do not use the deprecated AM_PROG_MKDIR_P

2013-01-10 Thread Lucas De Marchi
configure.ac:25: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed. configure.ac:25: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:25: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. We were already using

[PATCH 3/4] build: Use AM_CPPFLAGS instead of INCLUDES

2013-01-10 Thread Lucas De Marchi
Makefile.am:518: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 40a83dc..86a1f30 100644 --- a/Makefile.am +++ b/Makefile.am @@ -515,7 +515,7 @@ AM_CFLAGS =

[PATCH 4/4] storage: Include sys/types.h for ssize_t

2013-01-10 Thread Lucas De Marchi
src/storage.h:32:1: error: unknown type name 'ssize_t' src/storage.h:36:1: error: unknown type name 'ssize_t' --- src/storage.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage.h b/src/storage.h index c455bae..70446ad 100644 --- a/src/storage.h +++ b/src/storage.h @@ -26,6 +26,7 @@

Re: [PATCH mmsd 1/3] README: add information about mailing list

2013-01-10 Thread Rafael Ignacio Zurita
Hey Lucas!, On Thu, Jan 10, 2013 at 12:11 PM, Lucas De Marchi lucas.demar...@profusion.mobi wrote: --- README | 6 ++ 1 file changed, 6 insertions(+) diff --git a/README b/README ... + +Information +=== + +Mailing list: + ofono@ofono.org Would be it useful without