bthf_interface_t Strukturreferenz
bthf_interface_t Strukturreferenz
#include < bt_hf.h >
Datenfelder | |
Größe_t | Größe |
bt_status_t (* | init )( bthf_callbacks_t *Rückrufe, int max_hf_clients) |
bt_status_t (* | verbinden )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | trennen )(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 type, 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 Antwort_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) |
Leere(* | Aufräumen ) (nichtig) |
bt_status_t (* | configure_wbs )(bt_bdaddr_t *bd_addr, bthf_wbs_config_t config) |
detaillierte Beschreibung
Felddokumentation
bt_status_t (* at_response)( bthf_at_response_t Antwort_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 (* verbinden)(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 (* Verbindung trennen)(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 *Rückrufe, 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) |
Benachrichtigung über eine Änderung des Anrufstatus Jedes Update benachrichtigt
- Anzahl der aktiven/gehaltenen/klingelnden Anrufe
- call_state: Dies bezeichnet die Zustandsänderung, die diese Nachricht ausgelöst hat. Dies nimmt einen der Werte von BtHfCallState
- Nummer & Typ: gilt nur für eingehende & wartende Anrufe
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 type, int volume, bt_bdaddr_t *bd_addr) |
Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
- hardware/libhardware/include/hardware/ bt_hf.h