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

Definition at line 117 of file nfc.h .

Field Documentation

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

Definition at line 178 of file nfc.h .

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.

Definition at line 124 of file nfc.h .

int(* control_granted)(const struct nfc_nci_device *p_dev)

Definition at line 186 of file nfc.h .

int(* core_initialized)(const struct nfc_nci_device *p_dev, uint8_t *p_core_init_rsp_params)

Definition at line 160 of file nfc.h .

int(* open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, nfc_stack_data_callback_t *p_data_cback)

Definition at line 139 of file nfc.h .

int(* power_cycle)(const struct nfc_nci_device *p_dev)

Definition at line 192 of file nfc.h .

int(* pre_discover)(const struct nfc_nci_device *p_dev)

Definition at line 173 of file nfc.h .

int(* write)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data)

Definition at line 148 of file nfc.h .


The documentation for this struct was generated from the following file:
  • hardware/libhardware/include/hardware/ nfc.h