bt_vendor_interface_t 結構體參考

bt_vendor_interface_t 結構體參考資料

#include < bt_vendor_lib.h >

資料欄位

size_t  size
 
int(*  init )(const bt_vendor_callbacks_t *p_cb, unsigned char *local_bdaddr)
 
int(*  op )( bt_vendor_opcode_t opcode, void *param)
 
void(*  cleanup )(void)
 

詳細說明

定義位於檔案 bt_vendor_lib.h 327 行。

欄位說明文件

void(* cleanup)(void)

關閉介面

定義位於檔案 bt_vendor_lib.h 345 行。

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

呼叫端會開啟介面,並將回呼例行程序傳遞至此介面的實作。

定義位於檔案 bt_vendor_lib.h 339 行。

int(* op)( bt_vendor_opcode_t opcode, void *param)

廠商專屬作業

定義位於檔案 bt_vendor_lib.h 的 342 行。

size_t size

設為 sizeof(bt_vndor_interface_t)

定義位於檔案 bt_vendor_lib.h 的 329 行。


這個結構體的說明文件是由下列檔案產生: