public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* How to set packet type and how to see which packet type is in use ?
@ 2008-07-31 11:10 Kasper Revsbech
  2008-07-31 13:42 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Kasper Revsbech @ 2008-07-31 11:10 UTC (permalink / raw)
  To: linux-bluetooth

Hi
I am trying to compare some different Bluetooth setup. Doing that I 
would like to try with different baseband packet types.
So far I have been trying in two scenarios using hciconfig hci0 ptype 
<type> and that seems to work, at least in the case where I am using 
RFCOMM sockets for communication. But judging from the transfer rate it 
does not seem to work using a PAND/BNEP setup. This leads to the 
following questions:

 - How can I observe the currently uses packet type? I have been trying 
with hcidump and even parsed it with wireshark but can't really find the 
identifier that identifies witch packet type currently  is in use.

 - Can I by somehow set the packettype using setsocktop() on a rfcomm 
socket ? I have been look to find documentation on the content of the 
sockopt struc used but can't really find any. I have also tried looking 
in the code but can't figure out how to manipulate the packet type else 
that using hciconfig

Thanks
Kasper Revsbech

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

end of thread, other threads:[~2008-07-31 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 11:10 How to set packet type and how to see which packet type is in use ? Kasper Revsbech
2008-07-31 13:42 ` Marcel Holtmann

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