bt_hc_interface_t 構造体リファレンス

bt_hc_interface_t 構造体リファレンス

#include < bt_hci_lib.h >

データフィールド

サイズ_tサイズ
int(* init )(const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr)
空所(* set_power )( bt_hc_chip_power_state_t状態)
int(* lpm )( bt_hc_low_power_event_tイベント)
空所(*プリロード)( TRANSACトランザック)
空所(*ポストロード)( TRANSACトランザクション)
int(*送信_buf )( TRANSACトランザクション, char *p_buf, int len)
int(*ロギング)( bt_hc_logging_state_t状態、char *p_path、bool save_existing)
空所(*クリーンアップ)(ボイド)
int(* tx_cmd )( TRANSACトランザクション、char *p_buf、int len)

詳細な説明

ファイルbt_hci_lib.h165行目の定義。

フィールドドキュメント

void(* クリーンアップ)(void)

インターフェースを閉じます

ファイルbt_hci_lib.h194行目の定義。

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

インターフェイスを開き、このインターフェイスの実装にコールバック ルーチンを提供します。

ファイルbt_hci_lib.h173行目の定義。

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

HCI ログオン/オフを制御します

ファイルbt_hci_lib.h191行目の定義。

int(* lpm)( bt_hc_low_power_event_tイベント)

低電力モードウェイクを設定する

ファイルbt_hci_lib.h179行目の定義。

void(* postload)( TRANSACトランザクション)

スタック初期化後に呼び出される

ファイルbt_hci_lib.h185行目の定義。

void(* プリロード)( TRANSACトランザクション)

スタックの初期化の前に呼び出されます

ファイルbt_hci_lib.h182行目の定義。

void(* set_power)( bt_hc_chip_power_state_t状態)

チップ電力制御

ファイルbt_hci_lib.h176行目の定義。

size_t サイズ

sizeof(bt_hc_interface_t) に設定します

ファイルbt_hci_lib.h167行目の定義。

int(* submit_buf)( TRANSACトランザクション、char *p_buf、int len)

送信バッファ

ファイルbt_hci_lib.h188行目の定義。

int(* tx_cmd)( TRANSACトランザクション、char *p_buf、int len)

コマンドを hc 層に送信します (SCO 状態など)

ファイルbt_hci_lib.h197行目の定義。


この構造体のドキュメントは次のファイルから生成されました。