background image

 

 

Page 13 of 28 

© Cambridge Silicon Radio Limited 2014 

CS-310152-UGP1 

 

www.csr.com 

BlueC

or

e

 A

D

K

 3

.0 

Subw

oo
fer

 U

s

er

 G

uide

 

4.2. 

Device ID Configuration (PSKEY_USR1) 

The device ID configuration is used to set the Device ID used by the application. See the 

Bluetooth Device 

Identification Profile Specification

 for full details on the device ID parameters and their use. 

If PSKEY_USR1 (Device ID configuration) is empty, the application does not advertise the Device ID EIR data or the 
Device ID SDP record. 

Table 4.3 lists the structure for PSKEY_USR1: 

Word(s) 

Bit(s) 

Description 

[0:15] 

VendorIDSource 

[0:15] 

VendorID 

[0:15] 

ProductID 

[0:15] 

Version 

Table 4.3: Device ID PS Key Configuration 

4.3. 

Remote Device ID Configuration (PSKEY_USR2) 

The remote device ID configuration is used to restrict pairing requests from remote devices based on their Device ID 
SDP record. The level of restriction depends on the configured value of application 

Restriction Level

 feature.  

Table 4.4 lists the structure for PSKEY_USR2: 

Word(s) 

Bit(s) 

Description 

0-15 

VendorIDSource 

0-15 

VendorID 

0-15 

ProductID 

0-15 

Version 

0-15 

Alternate VendorIDSource 

0-15 

Alternate VendorID 

Table 4.4: Remote Device ID PS Key Configuration 

 

The Alternate VendorIDSource and Alternate VendorID are used when a specific vendor could have registered with 
both the Bluetooth Special Interest Group and the USB Implementers Forum. For example, CSR have different 
VendorIDs registered with both VendorIDSources: 

 

CSR Bluetooth Special Interests Group VendorID   

0x000A

 

 

CSR USB Implementers Forum VendorID 

 

0x0A12

 

This allows a remote device requesting pairing to be authenticated regardless of the VendorID, it is using (so long as 
it matches). 

If no Alternate VendorID is required (for example, if a Vendor has only registered with either the Bluetooth Special 
Interests Group or the USB Implementers Forum, both words (Alternate VendorIDSource and Alternate VendorID) 
must be set to zero and they are ignored by the application when the configuration key is read; CSR recommends 
that they are not left blank as  the application then ignores this feature. 

Содержание BlueCore ADK 3.0

Страница 1: ...Page 1 of 28 Cambridge Silicon Radio Limited 2014 CS 310152 UGP1 www csr com ADK 3 0 Subwoofer User Guide Issue 1 BlueCore...

Страница 2: ...CSR Other products services and names used in this document may have been trademarked by their respective owners The publication of this information does not imply that any licence is granted under an...

Страница 3: ...on PSKEY_USR6 18 4 7 I S Data Configuration PSKEY_USR7 20 4 8 SWAT SDP Configuration PSKEY_USR8 20 5 The ADK 3 0 Subwoofer Application 21 5 1 Libraries Used 21 5 2 Application States 22 5 3 Pairing wi...

Страница 4: ...er Guide Table 5 1 Application States Supported by the ADK 3 0 Application 22 Figure 1 1 Example System Block Diagram 5 Figure 4 1 Example LED Plot for a Pattern Using Two LEDs 15 Figure 5 1 ADK 3 0 S...

Страница 5: ...or developers by using the ADK Configuration Tool which allows customisation of the device to meet specific requirements e g to Assign PIO functionality Associate device control with different button...

Страница 6: ...lication to the hardware CSR recommends clearing all the PS Keys from the development board This places the board in to a known good state All tools are available in the ADK tools bin sub directory Al...

Страница 7: ...5 Multimedia Hardware the Execution mode needs to be set to Native mode as Assisted Native mode is not available with this platform Assisted Native mode should be selected when using the CSR8670 3 2 B...

Страница 8: ...ty paired device list 1 1 1 The Subwoofer automatically enters connectable mode and begins making connection requests to paired device s 1 1 2 To manually put the Subwoofer into pairing mode press and...

Страница 9: ...Build menu This sets all relevant build properties However if modifications to the sink project have been made for previous builds check that the following VM build options are included in the Projec...

Страница 10: ...s each configuration and how to setup a valid configuration Table 4 1 lists the PS Keys used by the subwoofer application PS Key ID Description PSKEY_USR0 Application features configuration PSKEY_USR1...

Страница 11: ...s the using a setting of 10 ms to allow time for digital mute to be applied 4 0 15 Amplifier MUTE Timer Time it takes for the amplifier to MUTE the audio Default 5 ms Note If MUTE I O lines are not su...

Страница 12: ...te This bit is ignored if amp Power Control I O is disabled 6 8 Restriction Level for Remote Devices 0 Disabled default 1 Vendor 2 Vendor product 3 Vendor product min version 4 Vendor product exact ve...

Страница 13: ...re Table 4 4 lists the structure for PSKEY_USR2 Word s Bit s Description 1 0 15 VendorIDSource 2 0 15 VendorID 3 0 15 ProductID 4 0 15 Version 5 0 15 Alternate VendorIDSource 6 0 15 Alternate VendorID...

Страница 14: ...rmediate plot point s for LED_B C 1 The Last plot point for LED_A POINTS B C 2 The first plot point for LED_B D 2 Intermediate plot point s for LED_B C 2 The last plot point for LED_B POINTS C C 3 The...

Страница 15: ...points for each LED that is required for that pattern The number of points for each pattern is undefined but must be at least two for any LED that is used by the pattern To create an empty pattern set...

Страница 16: ...me value for each point by this value 100 ms NUM_POINTS_A 0x00 Green LED not required for this pattern NUM_POINTS_B 0x04 There are 4 red LED plot points for this pattern NUM_POINTS_C 0x06 There are 6...

Страница 17: ...ing 2 LED Pattern for subwoofer_connecting subwoofer_connected 3 LED Pattern for subwoofer_connected subwoofer_open 4 LED Pattern for subwoofer_open subwoofer_streaming 5 LED Pattern for subwoofer_str...

Страница 18: ...Justified I S Justified Data Delay by 1 Bit Bits per Sample USR Data Key Length No of init I C Commands No of I C Volume Commands Volume Commands Offset Type Uint8 Uint8 Uint4 Uint4 Uint8 Uint8 uint8...

Страница 19: ...me change is made Volume Commands Offset Specifies the offset in words of the first I C volume command in the PSKEY_USR37 No of I C Shutdown Commands Specifies the number of individual I C commands th...

Страница 20: ...t value would be 1 since the first byte is always the I C device ID the first data byte 0 is the 0x05 set volume command and the second data byte 1 is the actual volume level The volume level is not n...

Страница 21: ...ding _debug Table 3 2 lists all libraries that the Subwoofer uses the default variant is highlighted in bold Library Available Variants Notes swat swat swat_debug connection connection connection_l2ca...

Страница 22: ...l and a media channel are open media data is streaming on the media channel Table 5 1 Application States Supported by the ADK 3 0 Application 5 3 Pairing with a Remote Device The initial state of the...

Страница 23: ...n after a link loss or after a disconnection If the remote device is not available it keeps re trying to connect see Figure 5 1 Figure 5 1 ADK 3 0 Subwoofer Device Connection Establishment Procedure W...

Страница 24: ...ates As soon as a Bluetooth connection is established with the paired device wired mode is disabled 5 5 2 Wired Mode EQ Filters The wired mode supports audio processing through the use of digital EQ B...

Страница 25: ...lt and a valid PIO configuration needs to be created to enable the test modes 5 7 Amplifier Control The ADK 3 0 Subwoofer offers complete control over the amplifier power on and power off procedures t...

Страница 26: ...nnecting an audio stream the following procedure must be followed 1 Mute the amplifier 1 1 Wait for the amplifier to mute 2 Power off the amplifier 2 1 Wait for the amplifier to power off 3 Disconnect...

Страница 27: ...f timer 6 DAC power off timer These timers are configurable in the Application Features configuration described in section 4 1 5 7 4 Supported Audio Output The device supports two modes of audio outpu...

Страница 28: ...r decoder CVC Clear Voice Capture DAC Digital to Analogue Converter DSP Digital Signal Processor or Processing DUT Device Under Test EEPROM Electrically Erasable Programmable Read Only Memory EQ EQual...

Отзывы: