Data Structures | |
struct | hfp_ag_indicator_t |
struct | hfp_call_service_t |
struct | hfp_connection |
struct | hfp_generic_status_indicator_t |
struct | hfp_network_opearator_t |
Typedefs | |
typedef struct hfp_connection | hfp_connection_t |
#define HFP_ACTIVATE_VOICE_RECOGNITION "+BVRA" |
#define HFP_AGSF_ABILITY_TO_REJECT_A_CALL 5 |
#define HFP_AGSF_ATTACH_A_NUMBER_TO_A_VOICE_TAG 4 |
#define HFP_AGSF_CODEC_NEGOTIATION 9 |
#define HFP_AGSF_EC_NR_FUNCTION 1 |
#define HFP_AGSF_ENHANCED_CALL_CONTROL 7 |
#define HFP_AGSF_ENHANCED_CALL_STATUS 6 |
#define HFP_AGSF_ESCO_S4 11 |
#define HFP_AGSF_EXTENDED_ERROR_RESULT_CODES 8 |
#define HFP_AGSF_HF_INDICATORS 10 |
#define HFP_AGSF_IN_BAND_RING_TONE 3 |
#define HFP_AGSF_THREE_WAY_CALLING 0 |
#define HFP_AGSF_VOICE_RECOGNITION_FUNCTION 2 |
#define HFP_AVAILABLE_CODECS "+BAC" |
#define HFP_CALL_ANSWERED "ATA" |
#define HFP_CALL_PHONE_NUMBER "ATD" |
#define HFP_CHANGE_IN_BAND_RING_TONE_SETTING "+BSIR" |
#define HFP_CODEC_CVSD 0x01 |
#define HFP_CODEC_MSBC 0x02 |
#define HFP_CONFIRM_COMMON_CODEC "+BCS" |
#define HFP_DEFAULT_AG_SUPPORTED_FEATURES 0x0009 |
#define HFP_DEFAULT_HF_SUPPORTED_FEATURES 0x0000 |
#define HFP_ENABLE_CALL_WAITING_NOTIFICATION "+CCWA" |
#define HFP_ENABLE_CLIP "+CLIP" |
#define HFP_ENABLE_EXTENDED_AUDIO_GATEWAY_ERROR "+CMEE" |
#define HFP_ENABLE_STATUS_UPDATE_FOR_AG_INDICATORS "+CMER" |
#define HFP_ERROR "ERROR" |
#define HFP_EXTENDED_AUDIO_GATEWAY_ERROR "+CME ERROR" |
#define HFP_GENERIC_STATUS_INDICATOR "+BIND" |
#define HFP_HANG_UP_CALL "+CHUP" |
#define HFP_HFSF_CLI_PRESENTATION_CAPABILITY 2 |
#define HFP_HFSF_CODEC_NEGOTIATION 7 |
#define HFP_HFSF_EC_NR_FUNCTION 0 |
#define HFP_HFSF_ENHANCED_CALL_CONTROL 6 |
#define HFP_HFSF_ENHANCED_CALL_STATUS 5 |
#define HFP_HFSF_ESCO_S4 9 |
#define HFP_HFSF_HF_INDICATORS 8 |
#define HFP_HFSF_REMOTE_VOLUME_CONTROL 4 |
#define HFP_HFSF_THREE_WAY_CALLING 1 |
#define HFP_HFSF_VOICE_RECOGNITION_FUNCTION 3 |
#define HFP_INDICATOR "+CIND" |
#define HFP_LIST_CURRENT_CALLS "+CLCC" |
#define HFP_MAX_INDICATOR_DESC_SIZE 20 |
#define HFP_MAX_NUM_AG_INDICATORS 20 |
#define HFP_MAX_NUM_CODECS 20 |
#define HFP_MAX_NUM_HF_INDICATORS 20 |
#define HFP_OK "OK" |
#define HFP_PHONE_NUMBER_FOR_VOICE_TAG "+BINP" |
#define HFP_QUERY_OPERATOR_SELECTION "+COPS" |
#define HFP_REDIAL_LAST_NUMBER "+BLDN" |
#define HFP_RESPONSE_AND_HOLD "+BTRH" |
#define HFP_RING "RING" |
#define HFP_SET_MICROPHONE_GAIN "+VGM" |
#define HFP_SET_SPEAKER_GAIN "+VGS" |
#define HFP_SUBSCRIBER_NUMBER_INFORMATION "+CNUM" |
#define HFP_SUPPORT_CALL_HOLD_AND_MULTIPARTY_SERVICES "+CHLD" |
#define HFP_SUPPORTED_FEATURES "+BRSF" |
#define HFP_TRANSFER_AG_INDICATOR_STATUS "+CIEV" |
#define HFP_TRANSFER_HF_INDICATOR_STATUS "+BIEV" |
#define HFP_TRANSMIT_DTMF_CODES "+VTS" |
#define HFP_TRIGGER_CODEC_CONNECTION_SETUP "+BCC" |
#define HFP_TURN_OFF_EC_AND_NR "+NREC" |
#define HFP_UPDATE_ENABLE_STATUS_FOR_INDIVIDUAL_AG_INDICATORS "+BIA" |
typedef struct hfp_connection hfp_connection_t |
enum hfp_ag_call_event_t |
enum hfp_call_state_t |
enum hfp_call_status_t |
enum hfp_cme_error_t |
enum hfp_codecs_state_t |
enum hfp_command_t |
enum hfp_link_setttings_t |
enum hfp_parser_state_t |
enum hfp_state_machine_t |
enum hfp_state_t |
int get_bit | ( | uint16_t | bitmap, |
int | position | ||
) |
hfp_connection_t* get_hfp_connection_context_for_acl_handle | ( | uint16_t | handle | ) |
hfp_connection_t* get_hfp_connection_context_for_bd_addr | ( | bd_addr_t | bd_addr | ) |
hfp_connection_t* get_hfp_connection_context_for_rfcomm_cid | ( | uint16_t | cid | ) |
hfp_connection_t* get_hfp_connection_context_for_sco_handle | ( | uint16_t | handle | ) |
const char* hfp_ag_feature | ( | int | index | ) |
void hfp_create_sdp_record | ( | uint8_t * | service, |
uint32_t | service_record_handle, | ||
uint16_t | service_uuid, | ||
int | rfcomm_channel_nr, | ||
const char * | name | ||
) |
void hfp_emit_event | ( | btstack_packet_handler_t | callback, |
uint8_t | event_subtype, | ||
uint8_t | value | ||
) |
void hfp_emit_simple_event | ( | btstack_packet_handler_t | callback, |
uint8_t | event_subtype | ||
) |
void hfp_emit_slc_connection_event | ( | btstack_packet_handler_t | callback, |
uint8_t | status, | ||
hci_con_handle_t | con_handle, | ||
bd_addr_t | addr | ||
) |
void hfp_emit_string_event | ( | btstack_packet_handler_t | callback, |
uint8_t | event_subtype, | ||
const char * | value | ||
) |
void hfp_establish_service_level_connection | ( | bd_addr_t | bd_addr, |
uint16_t | service_uuid | ||
) |
btstack_linked_list_t* hfp_get_connections | ( | void | ) |
void hfp_handle_hci_event | ( | uint8_t | packet_type, |
uint16_t | channel, | ||
uint8_t * | packet, | ||
uint16_t | size | ||
) |
void hfp_hf_drop_mSBC_if_eSCO_not_supported | ( | uint8_t * | codecs, |
uint8_t * | codecs_nr | ||
) |
const char* hfp_hf_feature | ( | int | index | ) |
void hfp_parse | ( | hfp_connection_t * | connection, |
uint8_t | byte, | ||
int | isHandsFree | ||
) |
void hfp_release_audio_connection | ( | hfp_connection_t * | connection | ) |
void hfp_release_service_level_connection | ( | hfp_connection_t * | connection | ) |
void hfp_reset_context_flags | ( | hfp_connection_t * | connection | ) |
void hfp_set_callback | ( | btstack_packet_handler_t | callback | ) |
void hfp_set_packet_handler_for_rfcomm_connections | ( | btstack_packet_handler_t | handler | ) |
void hfp_setup_synchronous_connection | ( | hfp_connection_t * | connection | ) |
int hfp_supports_codec | ( | uint8_t | codec, |
int | codecs_nr, | ||
uint8_t * | codecs | ||
) |
int join | ( | char * | buffer, |
int | buffer_size, | ||
uint8_t * | values, | ||
int | values_nr | ||
) |
int join_bitmap | ( | char * | buffer, |
int | buffer_size, | ||
uint32_t | values, | ||
int | values_nr | ||
) |
int send_str_over_rfcomm | ( | uint16_t | cid, |
char * | command | ||
) |
int store_bit | ( | uint32_t | bitmap, |
int | position, | ||
uint8_t | value | ||
) |