Re: [Bluez-devel] AVDTP socket?

Marcel Holtmann
2004-11-13T00:38:57Z

Hi Brad,

> My a2play.c (committed to cvs btw) opens the l2cap socket and exchanges
> a couple of messages with the bt420n before I have reached something I
> don't know how to interpret:
>
> send avdtp_discover
> receive avdtp_discover accept, seid=1
> send avdt_get_capabilities for seid=1
> receive avdt_get_capabilities accept
>
> The accept looks like this byte-for-byte:
>
> 02 -> response accept
> 02 -> AVDT_GET_CAPABILITIES
> 01 -> category = media transport
> 00 -> length of service capabilities = 0
> 07 -> 7 'elements' follow
> 06 -> elements[0]
> 00 ->
> 00 ->
> ff ->
> ff ->
> 02 ->
> fa -> elements[6]
>
> The avdt spec drops off sharply around page 86 when talking about what
> comes after the service capabilities length. Any ideas of what to make
> of the elements?

this should be the codec specific part. Look at A2DP for more details.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net