public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] HCI data packets
@ 2004-12-06 16:58 Manjunath Prabhu
  2004-12-06 18:45 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Manjunath Prabhu @ 2004-12-06 16:58 UTC (permalink / raw)
  To: bluez-users

Hi Marcel,

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..

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.....

Thanks,
Regards,
Manjunath


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] HCI data packets
  2004-12-06 16:58 [Bluez-users] HCI data packets Manjunath Prabhu
@ 2004-12-06 18:45 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-12-06 18:45 UTC (permalink / raw)
  To: BlueZ Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-06 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06 16:58 [Bluez-users] HCI data packets Manjunath Prabhu
2004-12-06 18:45 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox