From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Bypass for L2CAP packets
Date: Tue, 25 Jan 2005 13:54:00 +0100 [thread overview]
Message-ID: <1106657640.8058.148.camel@pegasus> (raw)
In-Reply-To: <loom.20050125T121015-316@post.gmane.org>
Hi Matthias,
> sorry for a question to the same problem again...
> I have a (problem) with the L2CAP layer from BlueZ.
> I wrote a program that communicates with a mobile phone by using its ow=
n L2CAP=20
> layer (the program builds its own L2CAP packets for protocol testing).
> For example I send a valid "connection request" to that phone and the p=
hone=20
> answers with a valid "connection response".
> So far so good.=20
> But then the L2CAP layer from BlueZ sends a "command reject", because t=
his=20
> layer doesn=B4t know about the "connection request" and cannot handle=20
> the "connection response".
> Ok, i understand that.=20
> But has anybody an idea how i can communicate with my own L2CAP layer a=
nd the=20
> phone only without using the BlueZ L2CAP layer, because the Bluez layer=
always=20
> prevents a further communication?
> Hmm... is in this case the L2CAP RAW socket the solution?
> I=B4m stucked with that problem and i hope anybody as an idea.
as Xavier mentioned the easiest solution is to unload the L2CAP kernel
module. However I looked at the code and it seems that the the kernel
respond to packets with all idents. It should not do that, because they
are shared between the kernel and the userspace. I think a patch for
that is needed so that for commands from the RAW socket no responses are
send.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2005-01-25 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-25 11:11 [Bluez-devel] Bypass for L2CAP packets Matthias Bruné
2005-01-25 11:50 ` Xavier Garreau
2005-01-25 12:54 ` 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=1106657640.8058.148.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@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.