Re: [Bluez-devel] AVDTP socket?

Brad Midgley
2004-11-13T03:13:05Z

Marcel

>>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]

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

It doesn't totally seem to match up. The last 4 bytes seem to be the
capabilities of SBC (p.20 of a2dp)

ff -> supports all sampling frequencies, channel modes
ff -> supports all block lengths, subbands, allocation methods
02 -> minimum bitpool val
fa -> max bitpool val

I can't find where the first 06, 00, 00 fit. Also, does the seid=1 in
the avdtp_discover accept correspond to only supporting SBC? I wasn't
expecting to know the supported codecs until after the first
avdt_get_capabilities.

Does anyone have a cached copy of assigned-numbers.htm? It's extremely
frustrating to have all these pointers to a web page
(http://www.bluetooth.org/assigned-numbers.htm) that won't resolve.

Brad

-------------------------------------------------------
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