Re: [Bluez-devel] Wizard patch

Marcel Holtmann
2008-06-30T14:06:36Z

Hi Michael,

> > looks nice. However you have to break this up into pieces for. Sent
> > small patches and I can quickly review and commit them.
>
> Here's a patch to add callback support to many of the common/client
> calls.
>
> It also adds a new function: bluetooth_client_cancel_call(). This
> cancels the last client call made for the given adapter/address.
>
> Admittedly, it would be fancier if, for example,
> bluetooth_client_create_bonding() gave back a handle which could be used
> to cancel its call, rather than just keeping track of the last one.

it only makes sense for the create bonding call, because the others
can't really be canceled. So my proposal is to leave the others out of
this change and implement create_bonding and cancel_bonding.

Regards

Marcel