From: Gustavo Padovan <gustavo@padovan.org>
To: ofono@ofono.org
Subject: Re: oFono DUN server issue
Date: Thu, 14 Jun 2012 23:58:29 -0300 [thread overview]
Message-ID: <20120615025829.GB3538@joana> (raw)
In-Reply-To: <4FDA65D8.3020608@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]
Hi Denis,
* Denis Kenzior <denkenz@gmail.com> [2012-06-14 17:29:44 -0500]:
> Hi Gustavo,
>
> >>Likely the culprit is this line inside __dundee_bluetooth_init
> >>
> >> err = bluetooth_register_uuid(DUN_GW_UUID,&dun_profile);
> >>
> >>It should probably use the UUID of the DUN client, not the gateway.
> >
> >We actually don't have an client uuid for DUN, and we need to put the server
> >uuid here in order to find the remote DUN Gateways.
> >Other than that he reported an issue in oFono, so how can dundee interfere on
> >it?
>
> I'm just speculating, but the problem here is that both dundee and
> the modem emulator are registering the DUN service. Unfortunately
> dundee is implementing the client role and modem emulator is
> implementing the server role.
They aren't, DUN server register a server, through
bluetooth_register_server(), there is no UUID on this. Only DUN Service
register itself as DUN on BlueZ.
>
> Perhaps dundee does not need to register an SDP record at all. I'm
> too lazy to dig out the DUN spec.
It doesn't need because it doesn't have one. We use DUN_GW_UUID here because
we want plugins/bluetooth.c to notify us when a DUN_GW device appears so then
we can use or DUN Client (dundee) to connect to it.
HFP does the same, in the Handsfree side we register for the UUID of the
Gateway side because you want to know about new HFP gateways on the system.
Gustavo
next prev parent reply other threads:[~2012-06-15 2:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-14 14:21 oFono DUN server issue Guillaume Zajac
2012-06-14 12:43 ` Denis Kenzior
2012-06-15 2:27 ` Gustavo Padovan
2012-06-14 22:29 ` Denis Kenzior
2012-06-15 2:58 ` Gustavo Padovan [this message]
2012-06-14 22:46 ` Denis Kenzior
2012-06-15 3:11 ` Gustavo Padovan
2012-06-14 23:09 ` Denis Kenzior
2012-06-18 10:04 ` Guillaume Zajac
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=20120615025829.GB3538@joana \
--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