Linux bluetooth development
 help / color / mirror / Atom feed
From: Mayank Batra <mayankbatra@yahoo.co.in>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] A2DP sink code finally
Date: Tue, 3 May 2005 14:23:45 +0100 (BST)	[thread overview]
Message-ID: <20050503132345.24700.qmail@web8302.mail.in.yahoo.com> (raw)
In-Reply-To: <20050501171637.412450f8.henryk@ploetzli.ch>

Henryk,

> Ah, stupid me. I forgot to enable pairing mode on
> the audio dongle.

Never mind. better late than never.

> > > Is there anything else I've got to do apart from
> 
> > > | hciconfig hci0 class 0x200404
> > 
> > Don't know whether this is required...?
> 
> Seems so. After doing
> 
> > > | sdptool add A2SNK
> > > | ./a2snk
> 
> _and_ enabling pairing on the audio dongle nothing
> happened. But as soon
> as I changed my device class the audio dongle
> started a connection. Now
> a2snk stalls after "Sent Stream End Point Discovery
> Response".


I suggest you scan the hcidump and see whether  avdtp
commands are being exchanged properly. This was the
problem i faced while coding the a2recv. Please refer
to my query mail in which i raised the question of
exchanging the position of packet_type and
message_type.

I interchanged them and it started working.

If i don't, then the sink sends a cont command which
the source rejects and sends a disconnection.

Also, do send me a copy of the dump.

Regards,

Mayank

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-05-03 13:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26 12:34 [Bluez-devel] A2DP sink code finally Mayank Batra
2005-04-27 16:27 ` Brad Midgley
2005-05-01 15:16 ` Henryk Plötz
2005-05-03 13:23   ` Mayank Batra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-26 12:35 Mayank Batra
2005-04-26 13:10 ` Brad Midgley
2005-04-26 15:50   ` Marcel Holtmann
2005-04-27 19:08     ` Brad Midgley
2005-04-26 12:29 Mayank Batra
2005-04-24 15:09 Mayank Batra
2005-04-25  3:24 ` Brad Midgley
2005-04-25  3:58   ` Brad Midgley
2005-04-25  6:08   ` Henryk Plötz
2005-04-25 14:40     ` Brad Midgley
2005-04-26 12:23   ` 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=20050503132345.24700.qmail@web8302.mail.in.yahoo.com \
    --to=mayankbatra@yahoo.co.in \
    --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