I have seen from older posts that there is no example in the IDF for HFP. Any plans to add one?
Also, is there any doc in the IDF for the HFP connection process and the related events?
I see these logs during the HFP connection process, any pointers on what is missing in the code? It disconnects immediately after connecting.
[/code]
Code: Select all
[code]E (6833) BT_HFP: HFP CONNECTION STATE event: 0
I (6843) BT_HFP: HFP connection state: Connected, [..]
E (6883) BT_HFP: HFP SERVICE AVAILABILITY event: 6
E (6883) BT_HFP: HFP CIND event: 3
E (6883) BT_HFP: HFP Call setup event: 4
E (6883) BT_HFP: HFP CIND CALL HELD event: 5
E (6893) BT_HFP: HFP SIGNAL STRENGTH event: 7
E (6893) BT_HFP: HFP ROAMING STATUS event: 8
E (6903) BT_HFP: HFP BATTERY LEVEL event: 9
E (6903) BT_HFP: HFP CONNECTION STATE event: 0
I (6913) BT_HFP: HFP connection state: Disconnecting, [..]