mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 10:13:29 +00:00
example/hfp_ag_demo: request master role on reconnect
This commit is contained in:
parent
1179ff0cce
commit
4bf33d8249
@ -718,6 +718,9 @@ int btstack_main(int argc, const char * argv[]){
|
|||||||
|
|
||||||
sco_demo_init();
|
sco_demo_init();
|
||||||
|
|
||||||
|
// Request role change on reconnecting headset to always use them in slave mode
|
||||||
|
hci_set_master_slave_policy(0);
|
||||||
|
|
||||||
gap_set_local_name("HFP AG Demo 00:00:00:00:00:00");
|
gap_set_local_name("HFP AG Demo 00:00:00:00:00:00");
|
||||||
gap_discoverable_control(1);
|
gap_discoverable_control(1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user