nfc_nci_device مرجع هيكل الجهاز

nfc_nci_device مرجع هيكل الجهاز

#include < nfc.h >

حقول البيانات

هيكل hw_device_t مشترك
int (* open ) (إنشاء بنية nfc_nci_device * p_dev ، nfc_stack_callback_t * p_cback ، nfc_stack_data_callback_t * p_data_cback)
int (* الكتابة ) (const بناء nfc_nci_device * p_dev ، uint16_t data_len ، const uint8_t * p_data)
int (* core_initialized ) (إنشاء بنية nfc_nci_device * p_dev ، uint8_t * p_core_init_rsp_params)
int (* الاكتشاف المسبق ) (إنشاء بنية nfc_nci_device * p_dev)
int (* إغلاق ) (إنشاء بنية nfc_nci_device * p_dev)
int (* control_granted ) (إنشاء بنية nfc_nci_device * p_dev)
int (* الطاقة_دورة ) (const Struct nfc_nci_device * p_dev)

وصف مفصل

التعريف في السطر 117 من ملف nfc.h.

التوثيق الميداني

int (* close) (const Struct nfc_nci_device * p_dev)

التعريف في السطر 178 من الملف nfc.h.

الطرق الشائعة لجهاز NFC NCI. هذا يجب أن يكون أول عضو في nfc_nci_device_t كمستخدمين لهذا الهيكل سوف يلقي hw_device_t لمؤشر nfc_nci_device_t في سياقات حيث انها معروفة hw_device_t المراجع وnfc_nci_device_t.

التعريف في السطر 124 من ملف nfc.h.

int (* control_granted) (إنشاء بنية nfc_nci_device * p_dev)

التعريف في السطر 186 لملف nfc.h.

int (* core_initialized) (إنشاء بنية nfc_nci_device * p_dev ، uint8_t * p_core_init_rsp_params)

التعريف في السطر 160 من ملف nfc.h.

int (* open) (إنشاء بنية nfc_nci_device * p_dev ، nfc_stack_callback_t * p_cback ، nfc_stack_data_callback_t * p_data_cback)

التعريف في السطر 139 من ملف nfc.h.

int (* power_cycle) (إنشاء بنية nfc_nci_device * p_dev)

التعريف في السطر 192 من الملف nfc.h.

int (* pre_discover) (إنشاء بنية nfc_nci_device * p_dev)

التعريف في السطر 173 من ملف nfc.h.

int (* write) (const Struct nfc_nci_device * p_dev، uint16_t data_len، const uint8_t * p_data)

التعريف في السطر 148 من الملف nfc.h.


تم إنشاء وثائق هذه البنية من الملف التالي:
  • الأجهزة / libhardware / تشمل / الأجهزة / nfc.h