bt_hc_interface_t 구조체 참조

bt_hc_interface_t 구조체 참조

#include < bt_hci_lib.h >

데이터 필드

size_t  크기
 
int(*  init )(const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr)
 
void(*  set_power )( bt_hc_chip_power_state_t state)
 
int(*  lpm )( bt_hc_low_power_event_t event)
 
void(*  preload )( TRANSAC transac)
 
void(*  postload )( TRANSAC transac)
 
int(*  transmit_buf )( TRANSAC transac, char *p_buf, int len)
 
int(*  logging )( bt_hc_logging_state_t state, char *p_path, bool save_existing)
 
void(*  cleanup )(void)
 
int(*  tx_cmd )( TRANSAC transac, char *p_buf, int len)
 

상세 설명

bt_hci_lib.h FILE의 165 줄에 정의되어 있습니다.

필드 문서

void(* cleanup)(void)

인터페이스 닫기

bt_hci_lib.h 파일의 194 번 줄에 정의되어 있습니다.

int(* init)(const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr)

인터페이스를 열고 이 인터페이스의 구현에 콜백 루틴을 제공합니다.

bt_hci_lib.h 파일의 173 번 행에 정의되어 있습니다.

int(* logging)( bt_hc_logging_state_t state, char *p_path, bool save_existing)

HCI 로깅 사용/사용 중지 제어

bt_hci_lib.h FILE의 191 라인에 정의가 있습니다.

int(* lpm)( bt_hc_low_power_event_t event)

저전력 모드 절전 모드 설정

bt_hci_lib.h FILE의 179 행에 정의가 있습니다.

void(* postload)( TRANSAC transac)

스택 초기화 후 호출됨

bt_hci_lib.h FILE의 185 번 째 줄에 정의되어 있습니다.

void(* preload)( TRANSAC transac)

스택 초기화 전에 호출됨

bt_hci_lib.h FILE의 182 번 째 줄에 정의되어 있습니다.

void(* set_power)( bt_hc_chip_power_state_t state)

칩 전원 제어

bt_hci_lib.h FILE의 176 행에 정의되어 있습니다.

size_t 크기

sizeof(bt_hc_interface_t)로 설정

bt_hci_lib.h FILE의 167 행에 정의되어 있습니다.

int(* transmit_buf)( TRANSAC transac, char *p_buf, int len)

전송 버퍼

bt_hci_lib.h 파일의 188 번 줄에 정의되어 있습니다.

int(* tx_cmd)( TRANSAC transac, char *p_buf, int len)

hc 레이어에 명령어를 전송합니다 (예: SCO 상태).

bt_hci_lib.h 파일의 197 줄에 정의되어 있습니다.


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