From: Frederic Danis <frederic.danis@linux.intel.com>
To: "Zhang, Jingke" <jingke.zhang@intel.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: BT DUN Server fails to work (seems blocked in RFCOMM)
Date: Tue, 19 Jun 2012 12:53:21 +0200 [thread overview]
Message-ID: <4FE05A21.9060406@linux.intel.com> (raw)
In-Reply-To: <8C91AD8ED4077A4786B341540858992510269B2E@SHSMSX102.ccr.corp.intel.com>
Hello
On 19/06/2012 11:11, Zhang, Jingke wrote:
> Hi all,
> Does any guys try DUN server with bluez?
>
> My telephone stack is ofono and its DUN server code should be ready in its commit. However, the problem is my DUN activation request almost did not come to ofono side (only to bluez RFCOMM). On the DUN Client, I can use same validation step to active a mobile phone (Sony-Ericson C905) to connect to 2G/3G network.
>
> I filed a bug https://bugs.meego.com/show_bug.cgi?id=25303 to track all logs.
>
> Could you help to see what's the problem?
>
> Thanks
> Jingke
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Your hcidump shows 2 SDP records for DUN profile.
Guillaume Zajac and I found the same problem yesterday, and reply about
it on oFono mailing list (see "Re: oFono DUN server issue" mails).
It seems that BlueZ was compiled with embedded DUN server (configure
option --enable-pnat).
When both BlueZ and oFono are started, they both listen for incoming
connection on RFCOMM port 1 (try "sdptool browse local" to check), and
embedded BlueZ DUN server reply preventing oFono to manage this connection.
If you remove the embedded DUN server by removing --enable-pnat from
build configuration, it should work.
Fred
--
Frederic Danis Open Source Technology Center
frederic.danis@intel.com Intel Corporation
next prev parent reply other threads:[~2012-06-19 10:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 9:11 BT DUN Server fails to work (seems blocked in RFCOMM) Zhang, Jingke
2012-06-19 9:39 ` Dean Jenkins
2012-06-19 9:48 ` Zhang, Jingke
2012-06-19 10:12 ` Dean Jenkins
2012-06-19 10:53 ` Frederic Danis [this message]
2012-06-19 10:57 ` Luiz Augusto von Dentz
2012-06-20 5:24 ` Zhang, Jingke
2012-06-20 6:49 ` Zheng, Wu
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=4FE05A21.9060406@linux.intel.com \
--to=frederic.danis@linux.intel.com \
--cc=jingke.zhang@intel.com \
--cc=linux-bluetooth@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.