BES2500 hfp相关api状态:
services\bt_if_enhanced\inc\hfp_api.h
typedef void *hf_chan_handle_t; /* start of btif_audio_state_t*/ typedef enum { BTIF_HF_AUDIO_DISCON = 0, BTIF_HF_AUDIO_CON = 1, } btif_audio_state_t; /* End of btif_audio_state_t*/ /*--------------------------------------------------------------------------- * btif_hf_call_held_state type * */ typedef uint8_t btif_hf_call_held_state; #define BTIF_HF_CALL_HELD_NONE 0 #define BTIF_HF_CALL_HELD_ACTIVE 1 #define BTIF_HF_CALL_HELD_NO_ACTIVE 2 /* End of btif_hf_call_held_state */ /* start the definition of btif_hf_call_setup_t*/ typedef uint8_t btif_hf_call_setup_t; #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 /* end btif_hf_call_setup_t*/ /* start the definition of btif_hf_call_active_t */ typedef uint8_t btif_hf_call_active_t; #define BTIF_HF_CALL_NONE