From: Gustavo F. Padovan <gustavo@padovan.org>
To: ofono@ofono.org
Subject: Re: [PATCH 2/6] bluetooth: Add register service for bluetooth
Date: Mon, 12 Jul 2010 10:03:46 -0300 [thread overview]
Message-ID: <20100712130346.GA13910@vigoh> (raw)
In-Reply-To: <33AB447FBD802F4E932063B962385B351F77024A@shsmsx501.ccr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 727 bytes --]
Hi Zhenhua,
> >>
> >> -int bluetooth_register_uuid(const char *uuid, struct
> >> bluetooth_profile *profile) +static int bluetooth_init() {
> >
> > So I prefer a real refcount structure here, and call this
> > bluetooth_ref(). What do you think?
>
> Good idea. Bluetooth_ref/unref makes more sense if we have both HFP and DUN existings on the system.
>
> Actually I have an unrelated question here. Why we don't have something like DUN_GW_UUID string so that we can easily reuse your current code? For now, we need to register service and use a different hash table to record that.
I'm fine with that, but you have to use the DUN Data Terminal UUID
instead.
--
Gustavo F. Padovan
http://padovan.org
next prev parent reply other threads:[~2010-07-12 13:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 5:45 [PATCH 0/6] Add oFono DUN emulator Zhenhua Zhang
2010-07-05 5:45 ` [PATCH 1/6] emulator: Add ofono_emulator framework Zhenhua Zhang
2010-07-05 5:45 ` [PATCH 2/6] bluetooth: Add register service for bluetooth Zhenhua Zhang
2010-07-05 5:45 ` [PATCH 3/6] dun_gw: Add DUN emulator plugin Zhenhua Zhang
2010-07-05 5:45 ` [PATCH 4/6] emulator: Add Enable/Disable for oFono emulator Zhenhua Zhang
2010-07-05 5:45 ` [PATCH 5/6] emulator: Add test case for ofono emulator Zhenhua Zhang
2010-07-05 5:45 ` [PATCH 6/6] dun_gw: Probe emulator when we have new adapter Zhenhua Zhang
2010-07-09 14:20 ` [PATCH 2/6] bluetooth: Add register service for bluetooth Gustavo F. Padovan
2010-07-12 3:27 ` Zhang, Zhenhua
2010-07-12 13:03 ` Gustavo F. Padovan [this message]
2010-07-13 17:56 ` [PATCH 1/6] emulator: Add ofono_emulator framework Denis Kenzior
2010-07-14 1:10 ` Zhang, Zhenhua
2010-07-14 1:46 ` Denis Kenzior
2010-07-14 1:50 ` Zhang, Zhenhua
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=20100712130346.GA13910@vigoh \
--to=gustavo@padovan.org \
--cc=ofono@ofono.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