public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] HFP Gateway profile -- take 2
@ 2009-02-19 13:19 Zhao Forrest
  2009-02-19 18:33 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Zhao Forrest @ 2009-02-19 13:19 UTC (permalink / raw)
  To: BlueZ development; +Cc: event

Hi,

Compared with last version the change is:
1 fix the bug that HFP AG can't initiate the service-level connection
with HFP HF unit.
2 rebase the patch set against the BlueZ master

The patch set include the following 4 patches:
1 add the D-Bus interface definition for HFP Audio gateway
2 add the basic framework support for HFP Audio gateway
3 the main part for HFP Audio gateway
4  IPC integration part for HFP Audio gateway

Thanks,
Forrest

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/4] HFP Gateway profile -- take 2
  2009-02-19 13:19 [PATCH 0/4] HFP Gateway profile -- take 2 Zhao Forrest
@ 2009-02-19 18:33 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-02-19 18:33 UTC (permalink / raw)
  To: Zhao Forrest; +Cc: BlueZ development, event

Hi Forrest,

> Compared with last version the change is:
> 1 fix the bug that HFP AG can't initiate the service-level connection
> with HFP HF unit.
> 2 rebase the patch set against the BlueZ master
> 
> The patch set include the following 4 patches:
> 1 add the D-Bus interface definition for HFP Audio gateway
> 2 add the basic framework support for HFP Audio gateway
> 3 the main part for HFP Audio gateway
> 4  IPC integration part for HFP Audio gateway

before we go any further with this, please make sure the coding style is
fixed.

static GDBusSignalTable gateway_signals[] = {
       {NULL, NULL}
};

It has to be "{ NULL, NULL }" and there are multiple of these mistakes.

And second, did you actually compiled the code?

       GIOChannel *rfcomm = gw->rfcomm;

       if (!io_channel_write_all(rfcomm, data, count))
               return FALSE;

       gsize read = 0;
       gboolean got_ok = FALSE;

This will not compile since you have variable declarations after the
code and the latest changes with -Werror are clearly forbidding this and
also checking for it.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-19 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 13:19 [PATCH 0/4] HFP Gateway profile -- take 2 Zhao Forrest
2009-02-19 18:33 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox