Android Hardware Abstraction Layer
Data Structures | Macros | Functions | Variables
config.h File Reference

Go to the source code of this file.

Data Structures

struct  tUART_CONFIG
 
struct  tSNOOZE_MODE_CONFIG
 

Macros

#define NAME_POLLING_TECH_MASK   "POLLING_TECH_MASK"
 
#define NAME_REGISTER_VIRTUAL_SE   "REGISTER_VIRTUAL_SE"
 
#define NAME_APPL_TRACE_LEVEL   "APPL_TRACE_LEVEL"
 
#define NAME_USE_RAW_NCI_TRACE   "USE_RAW_NCI_TRACE"
 
#define NAME_LOGCAT_FILTER   "LOGCAT_FILTER"
 
#define NAME_LPTD_CFG   "LPTD_CFG"
 
#define NAME_SCREEN_OFF_POWER_STATE   "SCREEN_OFF_POWER_STATE"
 
#define NAME_PREINIT_DSP_CFG   "PREINIT_DSP_CFG"
 
#define NAME_DTA_START_CFG   "DTA_START_CFG"
 
#define NAME_TRANSPORT_DRIVER   "TRANSPORT_DRIVER"
 
#define NAME_POWER_CONTROL_DRIVER   "POWER_CONTROL_DRIVER"
 
#define NAME_PROTOCOL_TRACE_LEVEL   "PROTOCOL_TRACE_LEVEL"
 
#define NAME_UART_PORT   "UART_PORT"
 
#define NAME_UART_BAUD   "UART_BAUD"
 
#define NAME_UART_PARITY   "UART_PARITY"
 
#define NAME_UART_STOPBITS   "UART_STOPBITS"
 
#define NAME_UART_DATABITS   "UART_DATABITS"
 
#define NAME_CLIENT_ADDRESS   "BCMI2CNFC_ADDRESS"
 
#define NAME_NFA_DM_START_UP_CFG   "NFA_DM_START_UP_CFG"
 
#define NAME_NFA_DM_CFG   "NFA_DM_CFG"
 
#define NAME_NFA_DM_LP_CFG   "NFA_DM_LP_CFG"
 
#define NAME_LOW_SPEED_TRANSPORT   "LOW_SPEED_TRANSPORT"
 
#define NAME_NFC_WAKE_DELAY   "NFC_WAKE_DELAY"
 
#define NAME_NFC_WRITE_DELAY   "NFC_WRITE_DELAY"
 
#define NAME_PERF_MEASURE_FREQ   "REPORT_PERFORMANCE_MEASURE"
 
#define NAME_READ_MULTI_PACKETS   "READ_MULTIPLE_PACKETS"
 
#define NAME_POWER_ON_DELAY   "POWER_ON_DELAY"
 
#define NAME_PRE_POWER_OFF_DELAY   "PRE_POWER_OFF_DELAY"
 
#define NAME_POST_POWER_OFF_DELAY   "POST_POWER_OFF_DELAY"
 
#define NAME_CE3_PRE_POWER_OFF_DELAY   "CE3_PRE_POWER_OFF_DELAY"
 
#define NAME_NFA_STORAGE   "NFA_STORAGE"
 
#define NAME_NFA_DM_START_UP_VSC_CFG   "NFA_DM_START_UP_VSC_CFG"
 
#define NAME_NFA_DTA_START_UP_VSC_CFG   "NFA_DTA_START_UP_VSC_CFG"
 
#define NAME_UICC_LISTEN_TECH_MASK   "UICC_LISTEN_TECH_MASK"
 
#define NAME_SNOOZE_MODE_CFG   "SNOOZE_MODE_CFG"
 
#define NAME_NFA_DM_DISC_DURATION_POLL   "NFA_DM_DISC_DURATION_POLL"
 
#define NAME_SPD_DEBUG   "SPD_DEBUG"
 
#define NAME_SPD_MAXRETRYCOUNT   "SPD_MAX_RETRY_COUNT"
 
#define NAME_SPI_NEGOTIATION   "SPI_NEGOTIATION"
 
#define NAME_AID_FOR_EMPTY_SELECT   "AID_FOR_EMPTY_SELECT"
 
#define NAME_PRESERVE_STORAGE   "PRESERVE_STORAGE"
 
#define NAME_NFA_MAX_EE_SUPPORTED   "NFA_MAX_EE_SUPPORTED"
 
#define NAME_NFCC_ENABLE_TIMEOUT   "NFCC_ENABLE_TIMEOUT"
 
#define NAME_NFA_DM_PRE_DISCOVERY_CFG   "NFA_DM_PRE_DISCOVERY_CFG"
 
#define NAME_POLL_FREQUENCY   "POLL_FREQUENCY"
 
#define LPTD_PARAM_LEN   (40)
 
#define default_transport   "/dev/bcm2079x"
 
#define default_storage_location   "/data/nfc"
 
#define MAX_CHIPID_LEN   (16)
 

Functions

int GetStrValue (const char *name, char *p_value, unsigned long len)
 
int GetNumValue (const char *name, void *p_value, unsigned long len)
 
void readOptionalConfig (const char *option)
 

Variables

struct tUART_CONFIG uartConfig
 

Macro Definition Documentation

#define default_storage_location   "/data/nfc"

Definition at line 83 of file config.h.

#define default_transport   "/dev/bcm2079x"

Definition at line 82 of file config.h.

#define LPTD_PARAM_LEN   (40)

Definition at line 79 of file config.h.

#define MAX_CHIPID_LEN   (16)

Definition at line 93 of file config.h.

#define NAME_AID_FOR_EMPTY_SELECT   "AID_FOR_EMPTY_SELECT"

Definition at line 72 of file config.h.

#define NAME_APPL_TRACE_LEVEL   "APPL_TRACE_LEVEL"

Definition at line 35 of file config.h.

#define NAME_CE3_PRE_POWER_OFF_DELAY   "CE3_PRE_POWER_OFF_DELAY"

Definition at line 62 of file config.h.

#define NAME_CLIENT_ADDRESS   "BCMI2CNFC_ADDRESS"

Definition at line 50 of file config.h.

#define NAME_DTA_START_CFG   "DTA_START_CFG"

Definition at line 41 of file config.h.

#define NAME_LOGCAT_FILTER   "LOGCAT_FILTER"

Definition at line 37 of file config.h.

#define NAME_LOW_SPEED_TRANSPORT   "LOW_SPEED_TRANSPORT"

Definition at line 54 of file config.h.

#define NAME_LPTD_CFG   "LPTD_CFG"

Definition at line 38 of file config.h.

#define NAME_NFA_DM_CFG   "NFA_DM_CFG"

Definition at line 52 of file config.h.

#define NAME_NFA_DM_DISC_DURATION_POLL   "NFA_DM_DISC_DURATION_POLL"

Definition at line 68 of file config.h.

#define NAME_NFA_DM_LP_CFG   "NFA_DM_LP_CFG"

Definition at line 53 of file config.h.

#define NAME_NFA_DM_PRE_DISCOVERY_CFG   "NFA_DM_PRE_DISCOVERY_CFG"

Definition at line 76 of file config.h.

#define NAME_NFA_DM_START_UP_CFG   "NFA_DM_START_UP_CFG"

Definition at line 51 of file config.h.

#define NAME_NFA_DM_START_UP_VSC_CFG   "NFA_DM_START_UP_VSC_CFG"

Definition at line 64 of file config.h.

#define NAME_NFA_DTA_START_UP_VSC_CFG   "NFA_DTA_START_UP_VSC_CFG"

Definition at line 65 of file config.h.

#define NAME_NFA_MAX_EE_SUPPORTED   "NFA_MAX_EE_SUPPORTED"

Definition at line 74 of file config.h.

#define NAME_NFA_STORAGE   "NFA_STORAGE"

Definition at line 63 of file config.h.

#define NAME_NFC_WAKE_DELAY   "NFC_WAKE_DELAY"

Definition at line 55 of file config.h.

#define NAME_NFC_WRITE_DELAY   "NFC_WRITE_DELAY"

Definition at line 56 of file config.h.

#define NAME_NFCC_ENABLE_TIMEOUT   "NFCC_ENABLE_TIMEOUT"

Definition at line 75 of file config.h.

#define NAME_PERF_MEASURE_FREQ   "REPORT_PERFORMANCE_MEASURE"

Definition at line 57 of file config.h.

#define NAME_POLL_FREQUENCY   "POLL_FREQUENCY"

Definition at line 77 of file config.h.

#define NAME_POLLING_TECH_MASK   "POLLING_TECH_MASK"

Definition at line 33 of file config.h.

#define NAME_POST_POWER_OFF_DELAY   "POST_POWER_OFF_DELAY"

Definition at line 61 of file config.h.

#define NAME_POWER_CONTROL_DRIVER   "POWER_CONTROL_DRIVER"

Definition at line 43 of file config.h.

#define NAME_POWER_ON_DELAY   "POWER_ON_DELAY"

Definition at line 59 of file config.h.

#define NAME_PRE_POWER_OFF_DELAY   "PRE_POWER_OFF_DELAY"

Definition at line 60 of file config.h.

#define NAME_PREINIT_DSP_CFG   "PREINIT_DSP_CFG"

Definition at line 40 of file config.h.

#define NAME_PRESERVE_STORAGE   "PRESERVE_STORAGE"

Definition at line 73 of file config.h.

#define NAME_PROTOCOL_TRACE_LEVEL   "PROTOCOL_TRACE_LEVEL"

Definition at line 44 of file config.h.

#define NAME_READ_MULTI_PACKETS   "READ_MULTIPLE_PACKETS"

Definition at line 58 of file config.h.

#define NAME_REGISTER_VIRTUAL_SE   "REGISTER_VIRTUAL_SE"

Definition at line 34 of file config.h.

#define NAME_SCREEN_OFF_POWER_STATE   "SCREEN_OFF_POWER_STATE"

Definition at line 39 of file config.h.

#define NAME_SNOOZE_MODE_CFG   "SNOOZE_MODE_CFG"

Definition at line 67 of file config.h.

#define NAME_SPD_DEBUG   "SPD_DEBUG"

Definition at line 69 of file config.h.

#define NAME_SPD_MAXRETRYCOUNT   "SPD_MAX_RETRY_COUNT"

Definition at line 70 of file config.h.

#define NAME_SPI_NEGOTIATION   "SPI_NEGOTIATION"

Definition at line 71 of file config.h.

#define NAME_TRANSPORT_DRIVER   "TRANSPORT_DRIVER"

Definition at line 42 of file config.h.

#define NAME_UART_BAUD   "UART_BAUD"

Definition at line 46 of file config.h.

#define NAME_UART_DATABITS   "UART_DATABITS"

Definition at line 49 of file config.h.

#define NAME_UART_PARITY   "UART_PARITY"

Definition at line 47 of file config.h.

#define NAME_UART_PORT   "UART_PORT"

Definition at line 45 of file config.h.

#define NAME_UART_STOPBITS   "UART_STOPBITS"

Definition at line 48 of file config.h.

#define NAME_UICC_LISTEN_TECH_MASK   "UICC_LISTEN_TECH_MASK"

Definition at line 66 of file config.h.

#define NAME_USE_RAW_NCI_TRACE   "USE_RAW_NCI_TRACE"

Definition at line 36 of file config.h.

Function Documentation

int GetNumValue ( const char *  name,
void *  p_value,
unsigned long  len 
)
int GetStrValue ( const char *  name,
char *  p_value,
unsigned long  len 
)
void readOptionalConfig ( const char *  option)

Variable Documentation

struct tUART_CONFIG uartConfig