Referência de estrutura bthf_interface_t
Referência de estrutura bthf_interface_t
#include < bt_hf.h >
Campos de dados | |
tamanho_t | Tamanho |
bt_status_t (* | init )( bthf_callbacks_t *callbacks, int max_hf_clients) |
bt_status_t (* | conectar )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | desconectar )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | connect_audio )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | desconexão_audio )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | start_voice_recognition )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | stop_voice_recognition )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | volume_control )( tipo bthf_volume_type_t , volume int, bt_bdaddr_t *bd_addr) |
bt_status_t (* | device_status_notification )( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, int signal, int batt_chg) |
bt_status_t (* | cops_response )(const char *cops, bt_bdaddr_t *bd_addr) |
bt_status_t (* | cind_response )(int svc, int num_active, int num_held, bthf_call_state_t call_setup_state, int signal, int roam, int batt_chg, bt_bdaddr_t *bd_addr) |
bt_status_t (* | formatted_at_response )(const char *rsp, bt_bdaddr_t *bd_addr) |
bt_status_t (* | at_response )( bthf_at_response_t response_code, int error_code, bt_bdaddr_t *bd_addr) |
bt_status_t (* | clcc_response )(int index, bthf_call_direction_t dir, bthf_call_state_t state, bthf_call_mode_t mode, bthf_call_mpty_type_t mpty, const char *number, bthf_call_addrtype_t type, bt_bdaddr_t *bd_addr) |
bt_status_t (* | phone_state_change )(int num_active, int num_held, bthf_call_state_t call_setup_state, const char *number, bthf_call_addrtype_t type) |
vazio(* | limpeza )(void) |
bt_status_t (* | configure_wbs )(bt_bdaddr_t *bd_addr, bthf_wbs_config_t config) |
Descrição detalhada
Documentação de campo
bt_status_t (* at_response)( bthf_at_response_t response_code, int error_code, bt_bdaddr_t *bd_addr) |
bt_status_t (* cind_response)(int svc, int num_active, int num_held, bthf_call_state_t call_setup_state, int signal, int roam, int batt_chg, bt_bdaddr_t *bd_addr) |
bt_status_t (* clcc_response)(int index, bthf_call_direction_t dir, bthf_call_state_t state, bthf_call_mode_t mode, bthf_call_mpty_type_t mpty, const char *number, bthf_call_addrtype_t type, bt_bdaddr_t *bd_addr) |
bt_status_t (* configure_wbs)(bt_bdaddr_t *bd_addr, bthf_wbs_config_t config) |
bt_status_t (* conectar)(bt_bdaddr_t *bd_addr) |
bt_status_t (* connect_audio)(bt_bdaddr_t *bd_addr) |
bt_status_t (* cops_response)(const char *cops, bt_bdaddr_t *bd_addr) |
bt_status_t (* device_status_notification)( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, int signal, int batt_chg) |
bt_status_t (* desconectar)(bt_bdaddr_t *bd_addr) |
bt_status_t (*connect_audio)(bt_bdaddr_t *bd_addr) |
bt_status_t (* formatted_at_response)(const char *rsp, bt_bdaddr_t *bd_addr) |
bt_status_t (* init)( bthf_callbacks_t *callbacks, int max_hf_clients) |
bt_status_t (* phone_state_change)(int num_active, int num_held, bthf_call_state_t call_setup_state, const char *number, bthf_call_addrtype_t type) |
notificar sobre uma mudança de estado de chamada Cada atualização notifica
- Número de chamadas ativas/em espera/tocando
- call_state: Isso denota a mudança de estado que acionou esta msg. Isso levará um dos valores de BtHfCallState
- número e tipo: válido apenas para chamadas recebidas e em espera
bt_status_t (* start_voice_recognition)(bt_bdaddr_t *bd_addr) |
bt_status_t (* stop_voice_recognition)(bt_bdaddr_t *bd_addr) |
bt_status_t (* volume_control)( tipo bthf_volume_type_t , volume int, bt_bdaddr_t *bd_addr) |
A documentação para esta estrutura foi gerada a partir do seguinte arquivo:
- hardware/libhardware/include/hardware/ bt_hf.h