From: Johan Hedberg <johan.hedberg@gmail.com>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org,
Sheldon Demario <sheldon.demario@openbossa.org>
Subject: Re: [PATCH 2/5] Change CreatePairedDevice to support LE devices
Date: Thu, 16 Dec 2010 23:01:11 +0200 [thread overview]
Message-ID: <20101216210111.GA25720@jh-x301> (raw)
In-Reply-To: <AANLkTikQOsuUH5NdmBgu47AJLcKMyQ08nRRruj+X8Lfc@mail.gmail.com>
Hi Claudio,
On Thu, Dec 16, 2010, Claudio Takahasi wrote:
> Currently, the purpose are service search functions and UUIDs utility functions.
> glib-helper was originally created to implement some utility functions
> to manage connections and sdp search abstractions.
> Connection functions were moved/removed when btio was created. I have
> two suggestions to try cleanup the code:
> 1. keep only sdp functions that use GLib types and rename the file to
> gsdp or other convenient name
> 2. Or create a btd_device_search/cancel functions(moving them to
> device.c) and try to remove glib-helper from the source tree, in the
> worst case keep only functions to manipulate UUIDs
>
> The bt_discover_primary can be moved to gatt.c if we split the
> discover cancel function.
> bt_discover_services() can be removed, there isn't reference in code.
>
> Which approach do you prefer? Any other suggestion?
Considering that around 90% of the file is SDP stuff right now I think
option 1 sounds better. I.e. rename the file to something SDP related as
well as create some more appropriate namespace for its public functions
than bt_*
Johan
next prev parent reply other threads:[~2010-12-16 21:01 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 19:54 [PATCH 1/5] Implement cancel primary discovery session Claudio Takahasi
2010-12-15 19:54 ` [PATCH 2/5] Change CreatePairedDevice to support LE devices Claudio Takahasi
2010-12-16 9:24 ` Johan Hedberg
2010-12-16 17:16 ` Claudio Takahasi
2010-12-16 21:01 ` Johan Hedberg [this message]
2010-12-20 22:43 ` [PATCH v2 " Claudio Takahasi
2010-12-20 22:59 ` Johan Hedberg
2010-12-20 23:57 ` [PATCH v3 " Sheldon Demario
2010-12-21 8:42 ` Johan Hedberg
2010-12-21 14:34 ` [PATCH v4 " Sheldon Demario
2010-12-23 21:29 ` [PATCH v5 " Sheldon Demario
2010-12-23 22:37 ` Johan Hedberg
2010-12-16 22:42 ` [PATCH " Brian Gix
2010-12-20 14:03 ` Claudio Takahasi
2010-12-15 19:54 ` [PATCH 3/5] Return an error if adapter_create_device fails Claudio Takahasi
2010-12-20 22:45 ` Claudio Takahasi
2010-12-15 19:54 ` [PATCH 4/5] Fix missing reply when create device is cancelled Claudio Takahasi
2010-12-20 22:47 ` [PATCH v2 " Claudio Takahasi
2010-12-20 23:00 ` Johan Hedberg
2010-12-15 19:54 ` [PATCH 5/5] Remove unneeded variable Claudio Takahasi
2010-12-20 22:49 ` [PATCH v2 " Claudio Takahasi
2010-12-20 23:02 ` Johan Hedberg
2010-12-21 12:03 ` Anderson Lizardo
2010-12-21 12:02 ` [PATCH v3] " Anderson Lizardo
2010-12-21 12:47 ` Johan Hedberg
2010-12-16 9:15 ` [PATCH 1/5] Implement cancel primary discovery session Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101216210111.GA25720@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=claudio.takahasi@openbossa.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=sheldon.demario@openbossa.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox