From: Andrei Emeltchenko <andrei.emeltchenko.news@gmail.com>
To: victor yeo <victoryeo1974@gmail.com>
Cc: Gustavo Padovan <gustavo@padovan.org>, linux-bluetooth@vger.kernel.org
Subject: Re: HCI Remote Name Request error "Page Timeout"
Date: Wed, 18 Jul 2012 10:04:19 +0300 [thread overview]
Message-ID: <20120718070412.GB18697@aemeltch-MOBL1> (raw)
In-Reply-To: <CADX0rsbXe8Sv8cu_Q_3BYLWCC=N3TCQdKVCC1Tay_gSfrAQWpQ@mail.gmail.com>
Hi Victor,
On Wed, Jul 18, 2012 at 02:26:47PM +0800, victor yeo wrote:
> > Hi Victor,
> >
> > * victor yeo <victoryeo1974@gmail.com> [2012-07-17 17:34:32 +0800]:
> >
> >> Hi,
> >>
> >> The hcidump program shows a remote name request "Page Timeout" error.
> >> I do not understand the reason. The Bluez stack requests for remote
> >> name, the device replied with 'Nonin_Medical_Inc._359443' twice, Then
> >> Bluez stack requests again, got "Page Timeout" error, and connection
> >> stops. What is the reason of this behavior?
> >>
> >> Thanks,
> >> Victor
> >>
> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> >> > HCI Event: Command Status (0x0f) plen 4
> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
> >> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> >> > HCI Event: Command Status (0x0f) plen 4
> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
> >> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> >> > HCI Event: Command Status (0x0f) plen 4
> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
> >> status 0x04 bdaddr 00:1C:05:00:70:44 name ''
> >> Error: Page Timeout
BTW: What about adding timestamp, just wondering are those requests sent
immediately one after one.
> > Can you enable dynamic_debug on your kernel for the bluetooth module and post
> > those logs to us? I wanna see what HCI is doing here.
> >
> > Gustavo
>
> So i re-build the kernel with CONFIG_DYNAMIC_DEBUG, use the newly
> built kernel, then run?
>
> echo -n 'module bluetoothd +p' > <debugfs>/dynamic_debug/control
something like this is enough:
echo 'file l2cap_core.c +fpt' > /debugfs/dynamic_debug/control; \
echo 'file hci_conn.c +fpt' > /debugfs/dynamic_debug/control; \
echo 'file hci_event.c +fpt' > /debugfs/dynamic_debug/control; \
echo 'file hci_core.c +fpt' > /debugfs/dynamic_debug/control"
Best regards
Andrei Emeltchenko
next prev parent reply other threads:[~2012-07-18 7:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 9:34 HCI Remote Name Request error "Page Timeout" victor yeo
2012-07-17 18:06 ` Gustavo Padovan
2012-07-18 6:26 ` victor yeo
2012-07-18 7:04 ` Andrei Emeltchenko [this message]
2012-07-18 7:39 ` victor yeo
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=20120718070412.GB18697@aemeltch-MOBL1 \
--to=andrei.emeltchenko.news@gmail.com \
--cc=gustavo@padovan.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=victoryeo1974@gmail.com \
/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