Linux bluetooth development
 help / color / mirror / Atom feed
From: "Henryk Plötz" <henryk@ploetzli.ch>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Regarding a2recv
Date: Mon, 9 May 2005 03:35:55 +0200	[thread overview]
Message-ID: <20050509033555.12509786.henryk@ploetzli.ch> (raw)
In-Reply-To: <1115600627.8949.93.camel@pegasus>

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

Moin,

Am Mon, 09 May 2005 03:03:47 +0200 schrieb Marcel Holtmann:

> you must do it on the HCI level at the correct time. Look at the
> function hci_switch_role() for more details.

Ah, thanks, that does it. I copied and adapted the relevant code from
hcitool.c and it works like a charm. Problem is: When trying to do the
roleswitch the program can only run as root, which is not exactly what
I want. I committed it to cvs anyways, but it is #ifdef'd out. Compile
with -DROLESWITCH to use it.

This also gives nice insights as the audio dongle is not always sending
packets with the same size. They vary from 82 bytes to 634 (at least
that are the sizes I've seen up to now.)

-- 
Henryk Plötz
Grüße aus Berlin
~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~
~ Help Microsoft fight software piracy: Give Linux to a friend today! ~

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-05-09  1:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-05 12:45 [Bluez-devel] Regarding a2recv Mayank Batra
2005-05-05 13:14 ` Marcel Holtmann
2005-05-05 14:40 ` Brad Midgley
2005-05-06  4:05 ` Henryk Plötz
2005-05-08 12:50   ` Mayank Batra
2005-05-08 22:54     ` Henryk Plötz
2005-05-09  0:01       ` Marcel Holtmann
2005-05-09  0:58         ` Henryk Plötz
2005-05-09  1:03           ` Marcel Holtmann
2005-05-09  1:35             ` Henryk Plötz [this message]
2005-05-09  1:44               ` Marcel Holtmann
2005-05-09  4:29               ` Brad Midgley
2005-05-09 12:48                 ` Henryk Plötz
2005-05-09 12:58                   ` Marcel Holtmann
2005-05-09 16:25                   ` Brad Midgley
2005-05-09  4:29       ` Brad Midgley
2005-05-09 12:38         ` Henryk Plötz
2005-05-09 21:31           ` Brad Midgley
2005-05-10  7:20       ` Mayank Batra

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=20050509033555.12509786.henryk@ploetzli.ch \
    --to=henryk@ploetzli.ch \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox