Re: [Bluez-devel] AVDTP socket?

Brad Midgley
2004-11-10T05:46:51Z

Marcel

[avdtp]
> This was not what I meant. You must open the signal channel first and
> then open the media channel. This is the basic mode.
>
>>I don't know where to start with the avdtp protocol handling. Can you
>>give me a pointer?
>
> I think you should start with a simple test implementation in user space
> that fulfils your purpose. I haven't understand the AVDTP enough to move
> any part of it into the kernel at the moment.

The avdtp document is almost 150 pages long and very terse! It looks to
me like I start with sdp to find the avdtp psm, open it with raw l2cap,
then do stream endpoint discovery and get capabilities, set stream
config, open the l2cap stream psm and send the stream. I am planning to
write an app that sends one of the reference sbc streams.

What should the sdp search look like? The more promising sdptool options
I found didn't work flawlessly... I'm assuming 0x110d is A2DP and 0x19
is AVDTP (http://www.bluetooth.org/assigned-numbers.htm redirects to
http://www.bluetoothsig.org/assigned-numbers/ which won't resolve). What
is the uint16 under AVDTP trying to tell us?

sdptool search --bdaddr 00:08:F4:30:05:BB 0x110d
Class 0x110D
Searching for 0x110d on 00:08:F4:30:05:BB ...
Service Name: Audio Sink
Service RecHandle: 0x10002
Service Class ID List:
"" (0x110b)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 25
"" (0x0019)
uint16: 0x0
Profile Descriptor List:
"" (0x110d)
Version: 0x0100

Brad

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net