btgatt_interface_t 구조 참조

btgatt_interface_t 구조 참조

#include < bt_gatt.h >

데이터 필드

size_t 크기
bt_status_t (* init ) (const btgatt_callbacks_t * 콜백)
빈(* 정리 ) (무효)
const btgatt_client_interface_t * 고객
const btgatt_server_interface_t * 섬기는 사람

상세 설명

표준 Bluetooth GATT 인터페이스를 나타냅니다.

bt_gatt.h 파일의 40 번째 라인에서 정의되었습니다.

현장 문서

무효 (* 정리) (무효)

인터페이스를 닫습니다.

bt_gatt.h 파일의 50 번째 줄에서 정의되었습니다.

const btgatt_client_interface_t * 클라이언트

GATT 클라이언트 인터페이스 메소드에 대한 포인터.

bt_gatt.h 파일의 53 번째 라인에서 정의되었습니다.

bt_status_t (* init) (const btgatt_callbacks_t * callbacks)

인터페이스를 초기화하고 콜백 루틴을 제공합니다.

bt_gatt.h 파일의 47 번째 라인에서 정의되었습니다.

GATT 서버 인터페이스 방법에 대한 포인터.

bt_gatt.h 파일의 56 번째 줄에서 정의되었습니다.

size_t 크기

sizeof (btgatt_interface_t)로 설정

bt_gatt.h 파일의 42 번째 라인에서 정의되었습니다.


이 구조체에 대한 문서는 다음 파일에서 생성되었습니다.
  • 하드웨어 / libhardware / include / hardware / bt_gatt.h