مرجع بنية 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) |
وصف مفصّل
التعريف في السطر 165 من الملف bt_hci_lib.h .
مستندات الحقل
void(* cleanup)(void) |
إغلاق الواجهة
التعريف في السطر 194 من الملف bt_hci_lib.h .
int(* init)(const bt_hc_callbacks_t *p_cb, unsigned char *local_bdaddr) |
يفتح الواجهة ويقدّم إجراءات الاستدعاء لتنفيذ هذه الواجهة.
التعريف في السطر 173 من الملف bt_hci_lib.h .
int(* logging)( bt_hc_logging_state_t state, char *p_path, bool save_existing) |
عناصر التحكّم في تفعيل/إيقاف تسجيل واجهة وحدة التحكّم في المضيف
التعريف في السطر 191 من الملف bt_hci_lib.h .
int(* lpm)( bt_hc_low_power_event_t event) |
ضبط إعدادات الاستيقاظ في وضع الطاقة المنخفضة
التعريف في السطر 179 من الملف bt_hci_lib.h .
void(* postload)( TRANSAC transac) |
تمّ استدعاء عملية إعداد الحزمة بعد التنفيذ
التعريف في السطر 185 من الملف bt_hci_lib.h .
void(* preload)( TRANSAC transac) |
يتم استدعاؤه قبل بدء تجميع الحزمة.
التعريف في السطر 182 من الملف bt_hci_lib.h .
void(* set_power)( bt_hc_chip_power_state_t state) |
التحكّم في طاقة الشريحة
التعريف في السطر 176 من الملف bt_hci_lib.h .
الحجم size_t |
اضبط على sizeof(bt_hc_interface_t).
التعريف في السطر 167 من الملف bt_hci_lib.h .
int(* transmit_buf)( TRANSAC transac, char *p_buf, int len) |
مخزن مؤقت للإرسال
التعريف في السطر 188 من الملف bt_hci_lib.h .
int(* tx_cmd)( TRANSAC transac, char *p_buf, int len) |
إرسال الأوامر إلى طبقة HC (مثل حالة SCO)
التعريف في السطر 197 من الملف bt_hci_lib.h .
تم إنشاء مستندات هذه البنية من الملف التالي:
- external/bluetooth/bluedroid/hci/include/ bt_hci_lib.h