Return-Path: Message-ID: <419BABF2.7080307@xmission.com> From: Brad Midgley MIME-Version: 1.0 To: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] AVDTP socket? References: <418DB442.2050801@uen.org> <1099830449.6896.14.camel@pegasus> <418E4E9C.8070100@xmission.com> <1099846462.6896.26.camel@pegasus> <418E6FBF.3090409@xmission.com> <1099863224.6896.57.camel@pegasus> <4191AB4B.8060701@xmission.com> <1100076431.25879.49.camel@pegasus> <41925793.3050404@xmission.com> <1100113055.25879.73.camel@pegasus> <419543B3.8050601@xmission.com> <1100306337.7349.29.camel@pegasus> <41957BC1.507@xmission.com> <1100351199.7349.50.camel@pegasus> <41970F25.4020902@xmission.com> <1100446172.21403.16.camel@pegasus> <419B7292.9080706@xmission.com> <1100706753.7607.13.camel@pegasus> In-Reply-To: <1100706753.7607.13.camel@pegasus> Content-Type: text/plain; charset=us-ascii; format=flowed Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 17 Nov 2004 12:52:18 -0700 Marcel, > struct sbc_frame_header { > uint8_t syncword:8; /* Sync word */ > uint8_t subbands:1; /* Subbands */ > uint8_t allocation_method:1; /* Allocation method */ > uint8_t channel_mode:2; /* Channel mode */ > uint8_t blocks:2; /* Blocks */ > uint8_t sampling_frequency:2; /* Sampling frequency */ > uint8_t bitpool:8; /* Bitpool */ > uint8_t crc_check:8; /* CRC check */ > } __attribute__ ((packed)); I tried reading this from the header but I get nonsensical results like "3" for frequency. Only one bit is supposed to be specified in fields like frequency, so the headset (rightly) rejects the set_config. i committed it to cvs 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 https://lists.sourceforge.net/lists/listinfo/bluez-devel