nfc_nci_device Struct Reference
nfc_nci_device Struct Reference
#include <
nfc.h
>
Data Fields |
|
struct hw_device_t | common |
int(* | open )(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, nfc_stack_data_callback_t *p_data_cback) |
int(* | write )(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data) |
int(* | core_initialized )(const struct nfc_nci_device *p_dev, uint8_t *p_core_init_rsp_params) |
int(* | pre_discover )(const struct nfc_nci_device *p_dev) |
int(* | close )(const struct nfc_nci_device *p_dev) |
int(* | control_granted )(const struct nfc_nci_device *p_dev) |
int(* | power_cycle )(const struct nfc_nci_device *p_dev) |
Detailed Description
Field Documentation
int(* close)(const struct nfc_nci_device *p_dev) |
struct hw_device_t common |
Common methods of the NFC NCI device. This must be the first member of nfc_nci_device_t as users of this structure will cast a hw_device_t to nfc_nci_device_t pointer in contexts where it's known the hw_device_t references a nfc_nci_device_t.
int(* control_granted)(const struct nfc_nci_device *p_dev) |
int(* core_initialized)(const struct nfc_nci_device *p_dev, uint8_t *p_core_init_rsp_params) |
int(* open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, nfc_stack_data_callback_t *p_data_cback) |
int(* power_cycle)(const struct nfc_nci_device *p_dev) |
int(* pre_discover)(const struct nfc_nci_device *p_dev) |
int(* write)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data) |
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ nfc.h