public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Kasper Revsbech <mail@krevsbech.dk>
To: linux-bluetooth@vger.kernel.org
Subject: How to set packet type and how to see which packet type is in use ?
Date: Thu, 31 Jul 2008 13:10:09 +0200	[thread overview]
Message-ID: <48919D91.3070703@krevsbech.dk> (raw)

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

             reply	other threads:[~2008-07-31 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31 11:10 Kasper Revsbech [this message]
2008-07-31 13:42 ` How to set packet type and how to see which packet type is in use ? Marcel Holtmann

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=48919D91.3070703@krevsbech.dk \
    --to=mail@krevsbech.dk \
    --cc=linux-bluetooth@vger.kernel.org \
    /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