btgatt_client_interface_t 구조체 참조

btgatt_client_interface_t 구조체 참조

#include < bt_gatt_client.h >

데이터 필드

bt_status_t (* register_client )( bt_uuid_t *uuid)
bt_status_t (* unregister_client )(int client_if)
bt_status_t (* 스캔 )(부울 시작)
bt_status_t (* 연결 )(int client_if, const bt_bdaddr_t *bd_addr, bool is_direct, int 전송)
bt_status_t (* 연결 해제 )(int client_if, const bt_bdaddr_t *bd_addr, int conn_id)
bt_status_t (* 청취 )(int client_if, bool 시작)
bt_status_t (* 새로 고침 )(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 핸들, int auth_req)
bt_status_t (* write_characteristic )(int conn_id, uint16_t 핸들, int write_type, int auth_req, vector< uint8_t > 값)
bt_status_t (* read_descriptor )(int conn_id, uint16_t 핸들, int auth_req)
bt_status_t (* write_descriptor )(int conn_id, uint16_t 핸들, int write_type, int auth_req, vector< uint8_t > 값)
bt_status_t (* 실행_쓰기 )(int conn_id , int 실행)
bt_status_t (* register_for_notification )(int client_if, const bt_bdaddr_t *bd_addr, uint16_t 핸들)
bt_status_t (* deregister_for_notification )(int client_if, const bt_bdaddr_t *bd_addr, uint16_t 핸들)
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 (* ptu_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 >_uuid, const bt_uuid_t *p_uuid_mask, const bt_bdaddr_ )
bt_status_t (* scan_filter_clear )(int client_if, int filt_index)
bt_status_t (* scan_filter_enable )(int client_if, bool 활성화)
정수(* 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 모양, 벡터< uint8_t > 제조업체_데이터, 벡터< uint8_t > 서비스_데이터, 벡터< uint8_t) > 서비스 u
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 대기 시간, int 시간 초과)
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 모양, 벡터< uint8_t > 제조업체_데이터, 벡터< uint8_t > 서비스 데이터, 벡터< uint8_t > 서비스 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 폐기 규칙)
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 명령, btgatt_test_params_t *params)
bt_status_t (* get_gatt_db )(int conn_id)

상세 설명

표준 BT-GATT 클라이언트 인터페이스를 나타냅니다.

bt_gatt_client.h 파일의 274 행에 있는 정의입니다.

현장 문서

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_gatt_client.h 파일의 393 행에 정의가 있습니다.

bt_status_t (* batchscan_dis_batch_scan)(int client_if)

bt_gatt_client.h 파일의 401 행 정의.

bt_status_t (* batchscan_enb_batch_scan)(int client_if, int scan_mode, int scan_interval, int scan_window, int addr_type, int 폐기 규칙)

bt_gatt_client.h 파일의 397 행에 정의가 있습니다.

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

bt_gatt_client.h 파일의 404 행에 있는 정의입니다.

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

지정된 연결에 대한 MTU 구성

bt_gatt_client.h 파일의 367 행에 있는 정의입니다.

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

연결 매개변수 업데이트 요청

bt_gatt_client.h 파일의 370 행에 있는 정의입니다.

bt_status_t (* 연결)(int client_if, const bt_bdaddr_t *bd_addr, bool is_direct, int 전송)

원격 LE 또는 이중 모드 장치에 대한 연결 만들기

bt_gatt_client.h 파일의 285 행에 있는 정의입니다.

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

알림/표시에 대한 이전 요청 등록 취소

bt_gatt_client.h 파일의 332 행에 있는 정의입니다.

bt_status_t (* 연결 해제)(int client_if, const bt_bdaddr_t *bd_addr, int conn_id)

원격 장치 연결 해제 또는 보류 중인 연결 취소

bt_gatt_client.h 파일의 289 행에 있는 정의입니다.

bt_status_t (* execute_write)(int conn_id, int 실행)

준비된 쓰기 작업 실행

bt_gatt_client.h 파일의 322 행에 정의가 있습니다.

int(* get_device_type)(const bt_bdaddr_t *bd_addr)

원격 장치의 유형 확인(LE, BR/EDR, 이중 모드)

bt_gatt_client.h 파일의 357 행에 정의가 있습니다.

bt_status_t (* get_gatt_db)(int conn_id)

gatt db 콘텐츠 가져오기

bt_gatt_client.h 파일의 410 행에 있는 정의입니다.

bt_status_t (* 청취)(int client_if, bool 시작)

들어오는 연결을 수신하기 위해 광고 시작 또는 중지

bt_gatt_client.h 파일의 293 행에 정의가 있습니다.

bt_status_t (* multi_adv_disable)(int client_if)

bt_gatt_client.h 파일의 390 행에 있는 정의입니다.

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_gatt_client.h 파일의 377 행에 있는 정의입니다.

bt_status_t (* multi_adv_set_inst_data)(int client_if, bool set_scan_rsp, bool include_name, bool incl_txpower, int 모양, 벡터< uint8_t > 제조 업체_데이터, 벡터< uint8_t > 서비스 데이터, 벡터< uint8_t) > 서비스 u

bt_gatt_client.h 파일의 385 행에 정의가 있습니다.

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_gatt_client.h 파일의 381 행에 있는 정의입니다.

bt_status_t (* read_characteristic)(int conn_id, uint16_t 핸들, int auth_req)

원격 장치에서 특성 읽기

bt_gatt_client.h 파일의 305 행 정의.

bt_status_t (* read_descriptor)(int conn_id, uint16_t 핸들, int auth_req)

주어진 특성에 대한 설명자 읽기

bt_gatt_client.h 파일의 314 행에 있는 정의입니다.

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

지정된 원격 장치에 대한 RSSI 요청

bt_gatt_client.h 파일의 336 행에 있는 정의입니다.

bt_status_t (* 새로 고침)(int client_if, const bt_bdaddr_t *bd_addr)

주어진 장치에 대한 속성 캐시 지우기

bt_gatt_client.h 파일의 296 행에 있는 정의입니다.

bt_status_t (* register_client)( bt_uuid_t *uuid)

스택에 GATT 클라이언트 애플리케이션을 등록합니다.

bt_gatt_client.h 파일의 276 행에 있는 정의입니다.

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

지정된 특성에 대한 알림 또는 표시를 수신하려면 등록하십시오.

bt_gatt_client.h 파일의 328 행 정의.

bt_status_t (* 스캔)(bool 시작)

LE 장치 스캔 시작 또는 중지

bt_gatt_client.h 파일의 282 행에 있는 정의입니다.

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, add_tuid, const bt_uuid_t_addr , const uint8_t > p_mask)

스캔 필터 조건 구성

bt_gatt_client.h 파일의 343 행에 있는 정의입니다.

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

특정 필터 인덱스에 대한 모든 스캔 필터 조건 지우기

bt_gatt_client.h 파일의 351 행에 정의가 있습니다.

bt_status_t (* scan_filter_enable)(int client_if, bool 활성화)

스캔 필터 기능 활성화/비활성화

bt_gatt_client.h 파일의 354 행에 정의가 있습니다.

bt_status_t (* scan_filter_param_setup)( btgatt_filt_param_setup_t filt_param)

스캔 필터 매개변수 설정

bt_gatt_client.h 파일의 339 행에 있는 정의입니다.

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

연결된 장치의 모든 GATT 서비스를 열거합니다. 선택적으로 주어진 UUID에 대해 결과를 필터링할 수 있습니다.

bt_gatt_client.h 파일의 302 행 정의.

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 모양, 벡터< uint8_t > 제조 데이터, 벡터< uint8_t > service_data, vector< 서비스

광고 데이터 설정 또는 응답 데이터 스캔

bt_gatt_client.h 파일의 360 행에 있는 정의입니다.

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

LE 스캔 간격 및 창을 N*0.625msec 단위로 설정합니다.

bt_gatt_client.h 파일의 374 행에 있는 정의입니다.

bt_status_t (* test_command)(int 명령, btgatt_test_params_t *params)

테스트 모드 인터페이스

bt_gatt_client.h 파일의 407 행 정의.

bt_status_t (* unregister_client)(int client_if)

스택에서 클라이언트 애플리케이션 등록 취소

bt_gatt_client.h 파일의 279 행 정의.

bt_status_t (* write_characteristic)(int conn_id, uint16_t 핸들, int write_type, int auth_req, vector< uint8_t > 값)

원격 특성 쓰기

bt_gatt_client.h 파일의 309 행 정의.

bt_status_t (* write_descriptor)(int conn_id, uint16_t 핸들, int write_type, int auth_req, vector< uint8_t > 값)

주어진 특성에 대한 원격 설명자 작성

bt_gatt_client.h 파일의 317 행에 있는 정의입니다.


이 구조체에 대한 문서는 다음 파일에서 생성되었습니다.