Referencia de estructura bthf_interface_t
Referencia de estructura bthf_interface_t
#include < bt_hf.h >
Campos de información | |
talla_t | Talla |
bt_status_t (* | init )( bthf_callbacks_t *devoluciones de llamada, 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 (* | conectar_audio )( bt_bdaddr_t *bd_addr) |
bt_status_t (* | desconectar_audio )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | iniciar_reconocimiento_de_voz )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | detener_reconocimiento_de_voz )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | control_volumen )( bthf_volume_type_t tipo, volumen 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 código_respuesta , int código_error, 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 tipo) |
vacío(* | limpieza (vacío) |
bt_status_t (* | configure_wbs )(bt_bdaddr_t *bd_addr, bthf_wbs_config_t config) |
Descripción detallada
Documentación de campo
bt_status_t (* at_response)( bthf_at_response_t código_respuesta , int código_error, 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 (* conectar_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 (* desconectar_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 *devoluciones de llamada, 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 de un cambio de estado de llamada Cada actualización notifica
- Número de llamadas activas/en espera/sonando
- call_state: Esto denota el cambio de estado que activó este mensaje. Esto tomará uno de los valores de BtHfCallState.
- número y tipo: válido solo para llamadas entrantes y en espera
tamaño_t tamaño |
bt_status_t (* iniciar_reconocimiento_de_voz)(bt_bdaddr_t *bd_addr) |
bt_status_t (* detener_reconocimiento_de_voz)(bt_bdaddr_t *bd_addr) |
bt_status_t (* control_volumen)( tipo bthf_volume_type_t , volumen int, bt_bdaddr_t *bd_addr) |
La documentación para esta estructura se generó a partir del siguiente archivo:
- hardware/libhardware/incluir/hardware/ bt_hf.h