bthf_interface_t Yapı Referansı
bthf_interface_t Yapı Referansı
#include < bt_hf.h >
Veri alanları | |
size_t | boyut |
bt_status_t (* | init )( bthf_callbacks_t *geri aramalar, int max_hf_clients) |
bt_status_t (* | bağlan )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | bağlantıyı kes )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | connect_audio )(bt_bdaddr_t *bd_addr) |
bt_status_t (* | bağlantı kesme_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 türü, int birim, bt_bdaddr_t *bd_addr) |
bt_status_t (* | device_status_notification )( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, int sinyal, 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 sinyal, 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 yanıt_kodu , int hata_kodu, bt_bdaddr_t *bd_addr) |
bt_status_t (* | clcc_response )(int dizin, bthf_call_direction_t dizin, bthf_call_state_t durum, bthf_call_mode_t modu, bthf_call_mpty_type_t mpty, const char *sayı, bthf_call_addrtype_t türü, bt_bdad_dradd_t) |
bt_status_t (* | phone_state_change )(int num_active, int num_held, bthf_call_state_t call_setup_state, const karakter *sayı, bthf_call_addrtype_t türü) |
geçersiz(* | temizleme )(boş) |
bt_status_t (* | configure_wbs )(bt_bdaddr_t *bd_addr, bthf_wbs_config_t yapılandırma) |
Detaylı Açıklama
Saha Dokümantasyonu
bt_status_t (* at_response)( bthf_at_response_t yanıt_kodu , int hata_kodu, 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 sinyal, int roam, int batt_chg, bt_bdaddr_t *bd_addr) |
bt_status_t (* clcc_response)(int dizin, bthf_call_direction_t dizin, bthf_call_state_t durum, bthf_call_mode_t modu, bthf_call_mpty_type_t mpty, const char *sayı, bthf_call,addr_rdab_t tür) |
bt_status_t (*config_wbs)(bt_bdaddr_t *bd_addr, bthf_wbs_config_t yapılandırma) |
bt_status_t (* bağlan)(bt_bdaddr_t *bd_addr) |
bt_status_t (* connect_audio)(bt_bdaddr_t *bd_addr) |
bt_status_t (* cops_response)(const char *polisler, bt_bdaddr_t *bd_addr) |
bt_status_t (* device_status_notification)( bthf_network_state_t ntk_state, bthf_service_type_t svc_type, int sinyali, int batt_chg) |
bt_status_t (* bağlantıyı kes)(bt_bdaddr_t *bd_addr) |
bt_status_t (* bağlantının kesilmesi_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 *geri aramalar, 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 *sayı, bthf_call_addrtype_t türü) |
bir çağrı durumu değişikliğini bildir Her güncelleme
- Aktif/bekletilen/çalışan aramaların sayısı
- call_state: Bu, bu mesajı tetikleyen durum değişikliğini belirtir Bu, BtHfCallState'den değerlerden birini alacaktır
- numara ve tür: yalnızca gelen ve bekleyen arama için geçerlidir
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 türü, int birim, bt_bdaddr_t *bd_addr) |
Bu yapı için belgeler aşağıdaki dosyadan oluşturulmuştur:
- donanım/libdonanım/içerme/donanım/ bt_hf.h