BES基本内容(会持续更新……)
- HFP,SCO
- 状态标记
#define BTIF_HF_CALL_SETUP_NONE 0 // #define BTIF_HF_CALL_SETUP_IN 1 //来电 #define BTIF_HF_CALL_SETUP_OUT 2 //去电 #define BTIF_HF_CALL_SETUP_ALERT 3 //电话铃声 #define BTIF_HF_CALL_NONE 0 //非通话,HFP #define BTIF_HF_CALL_ACTIVE 1 //通话中,HFP /*--------------------*/ /* start of btif_audio_state_t*/ typedef enum { BTIF_HF_AUDIO_DISCON = 0, //耳机上没有通话音频 BTIF_HF_AUDIO_CON = 1, //耳机上有通话音频 } btif_audio_state_t;
- 通话SCO建立的函数 hfp_audio_connected_handler()
- HFP指令函数:hfp_call_ind_handler()