bt_hc_interface_t 構造体リファレンス
#include <
bt_hci_lib.h
>
データ フィールド |
|
size_t | size |
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 の 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 の 191 行 に定義されています。
int(* lpm)( bt_hc_low_power_event_t event) |
低電力モードのウェイクアップを設定する
ファイル bt_hci_lib.h の 179 行目の定義。
void(* postload)( TRANSAC transac) |
スタック初期化後に呼び出されます
ファイル bt_hci_lib.h の 185 行目 に定義されています。
void(* preload)( TRANSAC transac) |
スタックの初期化前に呼び出されます
ファイル bt_hci_lib.h の 182 行 に定義されています。
void(* set_power)( bt_hc_chip_power_state_t state) |
チップの電力制御
ファイル bt_hci_lib.h の 176 行目 に定義されています。
size_t size |
sizeof(bt_hc_interface_t) に設定します。
ファイル bt_hci_lib.h の 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 行目 の定義。
この構造体のドキュメントは、次のファイルから生成されました。
- external/bluetooth/bluedroid/hci/include/ bt_hci_lib.h