bthf_interface_t Riferimento alla struttura
bthf_interface_t Riferimento alla struttura
#include < bt_hf.h >
Campi dati | |
taglia_t | taglia |
bt_status_t (* | init )( bthf_callbacks_t *callback, int max_hf_clients) |
bt_status_t (* | connetti )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | disconnetti )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | connect_audio )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | Disconnect_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 )( bthf_volume_type_t tipo, int volume, 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) |
vuoto(* | pulizia )(vuoto) |
bt_status_t (* | configure_wbs )(bt_bdaddr_t *bd_addr, bthf_wbs_config_t config) |
Descrizione dettagliata
Documentazione sul 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 (* connetti)(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 (* disconnessione)(bt_bdaddr_t *bd_addr) |
bt_status_t (* Disconnect_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 *callback, 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) |
notifica di una modifica dello stato della chiamata Ogni aggiornamento notifica
- Numero di chiamate attive/in attesa/che squillano
- call_state: indica il cambio di stato che ha attivato questo messaggio. Ciò richiederà uno dei valori da BtHfCallState
- numero e tipo: valido solo per chiamate in entrata e in attesa
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 (* controllo_volume)( bthf_volume_type_t tipo, int volume, bt_bdaddr_t *bd_addr) |
La documentazione per questa struttura è stata generata dal seguente file:
- hardware/libhardware/include/hardware/ bt_hf.h