From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] inquiry,connect and connect timeout
Date: Sat, 16 Apr 2005 06:30:09 +0200 [thread overview]
Message-ID: <1113625809.16433.55.camel@pegasus> (raw)
In-Reply-To: <313624802.29794@eyou.net>
Hi,
> I'm programming with BlueZ,but now there are three questions.
> 1.How to inquiry with CoD?
> I use hci_inquiry(...) to achieve the inquiry procedure ,and now I want to filter the inquiry responses with CoD directly,instead of by the return value of inquiry_info.
there exists a HCI_Set_Event_Filter command in the specification for
this, but actually I never tried it and I don't know how many chips are
really supporting it.
> 2.How to connect with clock offset?
> I use the RFCOMM socket to connect the remote device,and I have gotten the remote clock offset through the previous inquiry procedure.I want to accelerate the connect procedure, but I don't know where I should cache the clock offset so that the later connect procedure will use it automatically . In a word, I would like to know the correct methods to accelerate the connect procedure.
No need to, because the kernel keeps track of creating the ACL link and
it uses the clock offset from its inquiry cache if it is still valid.
> 3. timeout of the connect procedure.
> I want to make it clear What the default value of timeout is, when I use the connect(...) of RFCOMM socket to setup connection with the remote device.What's more , I want to know whether I could modify the value of timeout and how.
I think you are talking about the page timeout. Look at the HCI command
to modify it or use "hciconfig pageto ..." for it.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2005-04-16 4:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-16 4:09 [Bluez-users] inquiry,connect and connect timeout Jin Pu
2005-04-16 4:30 ` Marcel Holtmann [this message]
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=1113625809.16433.55.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/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.