Referensi Struct btgatt_client_interface_t

Referensi Struct btgatt_client_interface_t

#include < bt_gatt_client.h >

Kolom Data

bt_status_t (*  register_client )( bt_uuid_t *uuid)
 
bt_status_t (*  unregister_client )(int client_if)
 
bt_status_t (*  scan )(bool start)
 
bt_status_t (*  connect )(int client_if, const bt_bdaddr_t *bd_addr, bool is_direct, int transport)
 
bt_status_t (*  disconnect )(int client_if, const bt_bdaddr_t *bd_addr, int conn_id)
 
bt_status_t (*  listen )(int client_if, bool start)
 
bt_status_t (*  refresh )(int client_if, const bt_bdaddr_t *bd_addr)
 
bt_status_t (*  search_service )(int conn_id, bt_uuid_t *filter_uuid)
 
bt_status_t (*  read_characteristic )(int conn_id, uint16_t handle, int auth_req)
 
bt_status_t (*  write_characteristic )(int conn_id, uint16_t handle, int write_type, int auth_req, vector< uint8_t > value)
 
bt_status_t (*  read_descriptor )(int conn_id, uint16_t handle, int auth_req)
 
bt_status_t (*  write_descriptor )(int conn_id, uint16_t handle, int write_type, int auth_req, vector< uint8_t > value)
 
bt_status_t (*  execute_write )(int conn_id, int execute)
 
bt_status_t (*  register_for_notification )(int client_if, const bt_bdaddr_t *bd_addr, uint16_t handle)
 
bt_status_t (*  deregister_for_notification )(int client_if, const bt_bdaddr_t *bd_addr, uint16_t handle)
 
bt_status_t (*  read_remote_rssi )(int client_if, const bt_bdaddr_t *bd_addr)
 
bt_status_t (*  scan_filter_param_setup )( btgatt_filt_param_setup_t filt_param)
 
bt_status_t (*  scan_filter_add_remove )(int client_if, int action, int filt_type, int filt_index, int company_id, int company_id_mask, const bt_uuid_t *p_uuid, const bt_uuid_t *p_uuid_mask, const bt_bdaddr_t *bd_addr, char addr_type, vector< uint8_t > data, vector< uint8_t > p_mask)
 
bt_status_t (*  scan_filter_clear )(int client_if, int filt_index)
 
bt_status_t (*  scan_filter_enable )(int client_if, bool enable)
 
int(*  get_device_type )(const bt_bdaddr_t *bd_addr)
 
bt_status_t (*  set_adv_data )(int client_if, bool set_scan_rsp, bool include_name, bool include_txpower, int min_interval, int max_interval, int appearance, vector< uint8_t > manufacturer_data, vector< uint8_t > service_data, vector< uint8_t > service_uuid)
 
bt_status_t (*  configure_mtu )(int conn_id, int mtu)
 
bt_status_t (*  conn_parameter_update )(const bt_bdaddr_t *bd_addr, int min_interval, int max_interval, int latency, int timeout)
 
bt_status_t (*  set_scan_parameters )(int client_if, int scan_interval, int scan_window)
 
bt_status_t (*  multi_adv_enable )(int client_if, int min_interval, int max_interval, int adv_type, int chnl_map, int tx_power, int timeout_s)
 
bt_status_t (*  multi_adv_update )(int client_if, int min_interval, int max_interval, int adv_type, int chnl_map, int tx_power, int timeout_s)
 
bt_status_t (*  multi_adv_set_inst_data )(int client_if, bool set_scan_rsp, bool include_name, bool incl_txpower, int appearance, vector< uint8_t > manufacturer_data, vector< uint8_t > service_data, vector< uint8_t > service_uuid)
 
bt_status_t (*  multi_adv_disable )(int client_if)
 
bt_status_t (*  batchscan_cfg_storage )(int client_if, int batch_scan_full_max, int batch_scan_trunc_max, int batch_scan_notify_threshold)
 
bt_status_t (*  batchscan_enb_batch_scan )(int client_if, int scan_mode, int scan_interval, int scan_window, int addr_type, int discard_rule)
 
bt_status_t (*  batchscan_dis_batch_scan )(int client_if)
 
bt_status_t (*  batchscan_read_reports )(int client_if, int scan_mode)
 
bt_status_t (*  test_command )(int command, btgatt_test_params_t *params)
 
bt_status_t (*  get_gatt_db )(int conn_id)
 

Deskripsi Mendetail

Merepresentasikan antarmuka klien BT-GATT standar.

Definisi di baris 274 file bt_gatt_client.h .

Dokumentasi Bidang

bt_status_t (* batchscan_cfg_storage)(int client_if, int batch_scan_full_max, int batch_scan_trunc_max, int batch_scan_notify_threshold)

Definisi di baris 393 dari file bt_gatt_client.h .

bt_status_t (* batchscan_dis_batch_scan)(int client_if)

Definisi di baris 401 dari file bt_gatt_client.h .

bt_status_t (* batchscan_enb_batch_scan)(int client_if, int scan_mode, int scan_interval, int scan_window, int addr_type, int discard_rule)

Definisi di baris 397 dari file bt_gatt_client.h .

bt_status_t (* batchscan_read_reports)(int client_if, int scan_mode)

Definisi di baris 404 dari file bt_gatt_client.h .

bt_status_t (* configure_mtu)(int conn_id, int mtu)

Mengonfigurasi MTU untuk koneksi tertentu

Definisi di baris 367 dari file bt_gatt_client.h .

bt_status_t (* conn_parameter_update)(const bt_bdaddr_t *bd_addr, int min_interval, int max_interval, int latency, int timeout)

Meminta pembaruan parameter koneksi

Definisi di baris 370 dari file bt_gatt_client.h .

bt_status_t (* connect)(int client_if, const bt_bdaddr_t *bd_addr, bool is_direct, int transport)

Membuat koneksi ke perangkat LE jarak jauh atau perangkat mode ganda

Definisi di baris 285 dari file bt_gatt_client.h .

bt_status_t (* deregister_for_notification)(int client_if, const bt_bdaddr_t *bd_addr, uint16_t handle)

Membatalkan pendaftaran permintaan sebelumnya untuk notifikasi/indikasi

Definisi di baris 332 dari file bt_gatt_client.h .

bt_status_t (* disconnect)(int client_if, const bt_bdaddr_t *bd_addr, int conn_id)

Memutuskan sambungan perangkat jarak jauh atau membatalkan koneksi yang tertunda

Definisi di baris 289 dari file bt_gatt_client.h .

bt_status_t (* execute_write)(int conn_id, int execute)

Menjalankan operasi tulis yang telah disiapkan

Definisi di baris 322 dari file bt_gatt_client.h .

int(* get_device_type)(const bt_bdaddr_t *bd_addr)

Menentukan jenis perangkat jarak jauh (LE, BR/EDR, Mode ganda)

Definisi di baris 357 dari file bt_gatt_client.h .

bt_status_t (* get_gatt_db)(int conn_id)

Mendapatkan konten db gatt

Definisi di baris 410 dari file bt_gatt_client.h .

bt_status_t (* listen)(int client_if, bool start)

Memulai atau menghentikan iklan untuk memproses koneksi masuk

Definisi di baris 293 dari file bt_gatt_client.h .

bt_status_t (* multi_adv_disable)(int client_if)

Definisi di baris 390 dari file bt_gatt_client.h .

bt_status_t (* multi_adv_enable)(int client_if, int min_interval, int max_interval, int adv_type, int chnl_map, int tx_power, int timeout_s)

Definisi di baris 377 dari file bt_gatt_client.h .

bt_status_t (* multi_adv_set_inst_data)(int client_if, bool set_scan_rsp, bool include_name, bool incl_txpower, int appearance, vector< uint8_t > manufacturer_data, vector< uint8_t > service_data, vector< uint8_t > service_uuid)

Definisi di baris 385 dari file bt_gatt_client.h .

bt_status_t (* multi_adv_update)(int client_if, int min_interval, int max_interval, int adv_type, int chnl_map, int tx_power, int timeout_s)

Definisi di baris 381 dari file bt_gatt_client.h .

bt_status_t (* read_characteristic)(int conn_id, uint16_t handle, int auth_req)

Membaca karakteristik di perangkat jarak jauh

Definisi di baris 305 dari file bt_gatt_client.h .

bt_status_t (* read_descriptor)(int conn_id, uint16_t handle, int auth_req)

Membaca deskriptor untuk karakteristik tertentu

Definisi di baris 314 dari file bt_gatt_client.h .

bt_status_t (* read_remote_rssi)(int client_if, const bt_bdaddr_t *bd_addr)

Meminta RSSI untuk perangkat jarak jauh tertentu

Definisi di baris 336 dari file bt_gatt_client.h .

bt_status_t (* refresh)(int client_if, const bt_bdaddr_t *bd_addr)

Menghapus cache atribut untuk perangkat tertentu

Definisi di baris 296 dari file bt_gatt_client.h .

bt_status_t (* register_client)( bt_uuid_t *uuid)

Mendaftarkan aplikasi klien GATT dengan stack

Definisi di baris 276 dari file bt_gatt_client.h .

bt_status_t (* register_for_notification)(int client_if, const bt_bdaddr_t *bd_addr, uint16_t handle)

Mendaftar untuk menerima notifikasi atau indikasi untuk karakteristik tertentu

Definisi di baris 328 dari file bt_gatt_client.h .

bt_status_t (* scan)(bool start)

Memulai atau menghentikan pemindaian perangkat LE

Definisi di baris 282 dari file bt_gatt_client.h .

bt_status_t (* scan_filter_add_remove)(int client_if, int action, int filt_type, int filt_index, int company_id, int company_id_mask, const bt_uuid_t *p_uuid, const bt_uuid_t *p_uuid_mask, const bt_bdaddr_t *bd_addr, char addr_type, vector< uint8_t > data, vector< uint8_t > p_mask)

Mengonfigurasi kondisi filter pemindaian

Definisi di baris 343 dari file bt_gatt_client.h .

bt_status_t (* scan_filter_clear)(int client_if, int filt_index)

Menghapus semua kondisi filter pemindaian untuk indeks filter tertentu

Definisi di baris 351 dari file bt_gatt_client.h .

bt_status_t (* scan_filter_enable)(int client_if, bool enable)

Mengaktifkan / menonaktifkan fitur filter pemindaian

Definisi di baris 354 dari file bt_gatt_client.h .

bt_status_t (* scan_filter_param_setup)( btgatt_filt_param_setup_t filt_param)

Menyiapkan parameter filter pemindaian

Definisi di baris 339 dari file bt_gatt_client.h .

bt_status_t (* search_service)(int conn_id, bt_uuid_t *filter_uuid)

Mengurutkan semua layanan GATT di perangkat yang terhubung. Secara opsional, hasil dapat difilter untuk UUID tertentu.

Definisi di baris 302 dari file bt_gatt_client.h .

bt_status_t (* set_adv_data)(int client_if, bool set_scan_rsp, bool include_name, bool include_txpower, int min_interval, int max_interval, int appearance, vector< uint8_t > manufacturer_data, vector< uint8_t > service_data, vector< uint8_t > service_uuid)

Menetapkan data iklan atau data respons pemindaian

Definisi di baris 360 dari file bt_gatt_client.h .

bt_status_t (* set_scan_parameters)(int client_if, int scan_interval, int scan_window)

Menetapkan interval dan periode pemindaian LE dalam satuan N*0,625 md

Definisi di baris 374 dari file bt_gatt_client.h .

bt_status_t (* test_command)(int command, btgatt_test_params_t *params)

Antarmuka mode pengujian

Definisi di baris 407 dari file bt_gatt_client.h .

bt_status_t (* unregister_client)(int client_if)

Membatalkan pendaftaran aplikasi klien dari stack

Definisi di baris 279 dari file bt_gatt_client.h .

bt_status_t (* write_characteristic)(int conn_id, uint16_t handle, int write_type, int auth_req, vector< uint8_t > value)

Menulis karakteristik jarak jauh

Definisi di baris 309 dari file bt_gatt_client.h .

bt_status_t (* write_descriptor)(int conn_id, uint16_t handle, int write_type, int auth_req, vector< uint8_t > value)

Menulis deskripsi jarak jauh untuk karakteristik tertentu

Definisi di baris 317 dari file bt_gatt_client.h .


Dokumentasi untuk struct ini dibuat dari file berikut: