my current dts file doesn't have any nodes related to bt-sco. can hfp work via wm8960 sound card.
in logs i see that get_card_for_hfp returning -1. how to add sound card for it a2dp works fine in bluetooth,
but Hfp is not working.
please help where ever need to make changes
08-28 04:11:32.667 679 1405 D audio_hw_primary: adev_set_parameters: enter: hfp_set_sampling_rate=16000
08-28 04:11:32.667 679 1405 I audio_hw_primary: hfp_set_sampling_rate, 16000
08-28 04:11:32.667 679 1405 D audio_hw_primary: adev_set_parameters: exit with code(0)
08-28 04:11:32.668 679 1405 D audio_hw_primary: adev_set_parameters: enter: hfp_enable=true
08-28 04:11:32.668 679 1405 I audio_hw_primary: prepare bt rx task
08-28 04:11:32.668 679 1405 D audio_hw_primary: get_card_for_hfp: card: -1
08-28 04:11:32.668 679 1405 I audio_hw_primary: set pcm_config_sco_in.period_size to 64
08-28 04:11:32.668 679 1405 I audio_hw_primary: open sco for read, card -1, port 0
08-28 04:11:32.668 679 1405 I audio_hw_primary: rate 16000, channel 1, period_size 0x40, period_count 8
08-28 04:11:32.668 679 1405 I audio_hw_primary: after pcm open, rate 16000, channel 1, period_size 0x40, period_count 8
08-28 04:11:32.668 679 1405 E audio_hw_primary: cannot open pcm_sco_rx: cannot open device '/dev/snd/pcmC4294967295D0c': No such file or directory