From: Marcel Holtmann <marcel@holtmann.org>
To: mike mike <majormail999@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Disabling passive scanning for LE connections
Date: Tue, 24 May 2016 09:43:14 +0200 [thread overview]
Message-ID: <9E73AB7B-C5FB-42D5-ABD0-5B501E82AB8C@holtmann.org> (raw)
In-Reply-To: <CAE1tnCzFzg9U_B+=fDubL0i6_rTi7BsHiE2rpE6MR2ngvur-cQ@mail.gmail.com>
Hi Mike,
> I was not aware of the HCI User Channel. It looks like it may be the
> way I have to eventually go. The code currently uses L2CAP sockets
> for BLE GATT data and it looks like this would mean I need to write my
> own replacement. I have not looked into writing and L2CAP socket
> replacement, but assume this will be a major task. Any other
> suggestions or recommendations on where to start for the L2CAP socket
> replacement?
I think there are some examples in the code. However LE L2CAP (especially for GATT) is dead simple. It used a fixed channel and the only thing you need to deal with is the basic fragmentation.
Regards
Marcel
prev parent reply other threads:[~2016-05-24 7:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-19 22:06 Disabling passive scanning for LE connections mike mike
2016-05-20 7:14 ` Marcel Holtmann
2016-05-23 17:49 ` mike mike
2016-05-24 7:43 ` 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=9E73AB7B-C5FB-42D5-ABD0-5B501E82AB8C@holtmann.org \
--to=marcel@holtmann.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=majormail999@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 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.