AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Macros | Functions
mockVMLibNci.c File Reference
#include "mockVMLibNci.h"
#include <string.h>
Include dependency graph for mockVMLibNci.c:

Go to the source code of this file.

Macros

#define LOG_TAG   "mocklibnci"
 
#define NCI_MSG_RF_INTF_ACTIVATED   5
 

Functions

void createBufNdef_TypeURI (uint8_t *strIN, int sizLen, uint8_t *strOUT)
 
void createBufNdef_TypeText (uint8_t *strIN, int sizLen, uint8_t *strOUT)
 
void createBufNdef_TypeSmartPoster (uint8_t *strIN, uint8_t *strIN2, int sizLen, uint8_t *strOUT)
 
void vshort_actidata (uint8_t *strIN, int sizLen, uint8_t *strOUT)
 
void vshort_sendata (uint8_t *strIN, int sizLen, uint8_t *strOUT)
 
int codeNFC (NfcPayload *nfcData, uint8_t *msg)
 
uint8_t * NDEF_RecGetType (uint8_t *p_rec, uint8_t *p_tnf, uint8_t *p_type_len)
 
uint8_t * NDEF_RecGetId (uint8_t *p_rec, uint8_t *p_id_len)
 
uint8_t * NDEF_RecGetPayload (uint8_t *p_rec, uint32_t *p_payload_len)
 
tNDEF_STATUS NDEF_MsgValidate (uint8_t *p_msg, uint32_t msg_len, int b_allow_chunks)
 

Macro Definition Documentation

#define LOG_TAG   "mocklibnci"

Definition at line 2 of file mockVMLibNci.c.

#define NCI_MSG_RF_INTF_ACTIVATED   5

Function Documentation

int codeNFC ( NfcPayload *  nfcData,
uint8_t *  msg 
)

Definition at line 145 of file mockVMLibNci.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void createBufNdef_TypeSmartPoster ( uint8_t *  strIN,
uint8_t *  strIN2,
int  sizLen,
uint8_t *  strOUT 
)

Definition at line 70 of file mockVMLibNci.c.

Here is the caller graph for this function:

void createBufNdef_TypeText ( uint8_t *  strIN,
int  sizLen,
uint8_t *  strOUT 
)

Definition at line 41 of file mockVMLibNci.c.

Here is the caller graph for this function:

void createBufNdef_TypeURI ( uint8_t *  strIN,
int  sizLen,
uint8_t *  strOUT 
)

Definition at line 7 of file mockVMLibNci.c.

Here is the caller graph for this function:

tNDEF_STATUS NDEF_MsgValidate ( uint8_t *  p_msg,
uint32_t  msg_len,
int  b_allow_chunks 
)

Definition at line 333 of file mockVMLibNci.c.

uint8_t* NDEF_RecGetId ( uint8_t *  p_rec,
uint8_t *  p_id_len 
)

Definition at line 254 of file mockVMLibNci.c.

uint8_t* NDEF_RecGetPayload ( uint8_t *  p_rec,
uint32_t *  p_payload_len 
)

Definition at line 292 of file mockVMLibNci.c.

uint8_t* NDEF_RecGetType ( uint8_t *  p_rec,
uint8_t *  p_tnf,
uint8_t *  p_type_len 
)

Definition at line 215 of file mockVMLibNci.c.

void vshort_actidata ( uint8_t *  strIN,
int  sizLen,
uint8_t *  strOUT 
)

Definition at line 112 of file mockVMLibNci.c.

void vshort_sendata ( uint8_t *  strIN,
int  sizLen,
uint8_t *  strOUT 
)

Definition at line 130 of file mockVMLibNci.c.