From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] HCI data packets
Date: Mon, 06 Dec 2004 19:45:12 +0100 [thread overview]
Message-ID: <1102358712.9644.41.camel@pegasus> (raw)
In-Reply-To: <2de46576041206085827162a8f@mail.gmail.com>
Hi Manjunath,
> Does, opening a socket and then connect() at the
> L2CAP......automatically establish an HCI connection first and then an
> L2CAP connection on top of it?? This is what HCI dump shows..
this is correct and it must work like this.
> Can I in someway just create an HCI connection first and then pump HCI data
> packet with some known payload???How can i generate the test data
> packets........... In a way, i just want pump raw bits.....
You can use the HCI raw socket. This is what the library and the tools
are doing. However be careful with the ACL packets, because some chips
expect L2CAP frames and not random payload.
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://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2004-12-06 18:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-06 16:58 [Bluez-users] HCI data packets Manjunath Prabhu
2004-12-06 18:45 ` 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=1102358712.9644.41.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox