From: Xavier Garreau <xavier@xgarreau.org>
To: Marcel Holtmann <marcel@holtmann.org>,
Dan ABITBOL <d.abitbol@bloophone.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] CLASS OF DEVICE AND L2CAP INCOMING CONNECTION REQUESTS
Date: Wed, 29 Oct 2003 16:07:45 +0100 [thread overview]
Message-ID: <200310291607.45916.xavier@xgarreau.org> (raw)
In-Reply-To: <1067438006.24041.272.camel@pegasus>
Le Mercredi 29 Octobre 2003 15:33, Marcel Holtmann a =E9crit :
> > 2/ and/or make a filter to allow l2cap incoming connections request=
s
> > only from devices that have a specific class of device .
>
> I don't have any real thought about this. Any comments from other
> people?
This can be achieved at hci level by sending a Set_Event_Filter command (=
OGF =3D=20
3, OCF =3D5) with filter type set to 2, Filter_condition_type to 1 and th=
e=20
condition, composed of the CoD that interrests you followed by a mask=20
indicating the bits of interrest in the preceding CoD.
The problem is i'm sure you need to be root to do that and it forbids hci=
=20
connections ...
Regards,
--=20
Xavier Garreau
http://www.xgarreau.org
next prev parent reply other threads:[~2003-10-29 15:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-29 14:21 [Bluez-users] CLASS OF DEVICE AND L2CAP INCOMING CONNECTION REQUESTS Dan ABITBOL
2003-10-29 14:33 ` Marcel Holtmann
2003-10-29 15:07 ` Xavier Garreau [this message]
2003-10-29 15:15 ` Marcel Holtmann
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=200310291607.45916.xavier@xgarreau.org \
--to=xavier@xgarreau.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=d.abitbol@bloophone.com \
--cc=marcel@holtmann.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