mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-28 15:20:39 +00:00
example/a2dp_sink_demo: use cod 20404 - headphones
This commit is contained in:
parent
b09f7410f6
commit
f98fd573a1
@ -345,8 +345,8 @@ static int setup_demo(void){
|
||||
// - Allow to show up in Bluetooth inquiry
|
||||
gap_discoverable_control(1);
|
||||
|
||||
// - Set Class of Device - Service Class: Audio, Major Device Class: Audio, Minor: Loudspeaker
|
||||
gap_set_class_of_device(0x200414);
|
||||
// - Set Class of Device - Service Class: Audio, Major Device Class: Audio, Minor: Headphone
|
||||
gap_set_class_of_device(0x200404);
|
||||
|
||||
// - Allow for role switch in general and sniff mode
|
||||
gap_set_default_link_policy_settings( LM_LINK_POLICY_ENABLE_ROLE_SWITCH | LM_LINK_POLICY_ENABLE_SNIFF_MODE );
|
||||
|
Loading…
Reference in New Issue
Block a user