From: Ilya Rubtsov <lusyaru@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Set Tmin and Tmax for inquiry?
Date: Wed, 18 Mar 2009 18:06:58 +0300 [thread overview]
Message-ID: <49C10E12.3030708@gmail.com> (raw)
Hi
I'm developing an application for bluecasting. So period of periodic
inquire is important for me.
AFAIK, inquire process takes 10.24 seconds (Bluetooth 2.0). But if I use
StartDiscovery method in python script, then I see this in hcidump:
< HCI Command: Periodic Inquiry Mode (0x01|0x0003) plen 9
max 24 min 16 lap 0x9e8b33 len 8 num 0
and I get "Inquiry Complete" event every ~24-30 second. But if I use
'hcitool spinq', then I see:
< HCI Command: Periodic Inquiry Mode (0x01|0x0003) plen 9
max 24 min 16 lap 0x9e8b33 len 8 num 0
and "Inquiry Complete" event takes place every ~13-15 seconds. And in
both cases all remote devices is being founded, so I don't see any
reason for longer inquiring. AFAIK HCID internally sets Tmin and Tmax
parameters, but is there any way to affect to its 'decision'?
P.S. Excuse me for my English :(
next reply other threads:[~2009-03-18 15:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-18 15:06 Ilya Rubtsov [this message]
2009-03-18 20:42 ` Set Tmin and Tmax for inquiry? Ilya Rubtsov
2009-03-18 23:26 ` Carles Cufi
2009-03-18 23:40 ` Ilya Rubtsov
2009-03-19 14:07 ` Carles Cufi
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=49C10E12.3030708@gmail.com \
--to=lusyaru@gmail.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.