NFC NDEF library

Dependents:   Nucleo_NFC_Example I2C_NFC_Master Print_Entire_Nucleo_NFC01A1_Memory

Fork of lib_NDEF by Enrico Gregoratto

Embed: (wiki syntax)

« Back to documentation index

LibVcard_Private_Functions

LibVcard_Private_Functions
[LibNFC_FORUM]

Functions

static void NDEF_FillVcardStruct (uint8_t *pPayload, uint32_t PayloadSize, char *pKeyWord, uint32_t SizeOfKeyWord, uint8_t *pString)
 This fonction fill Vcard structure with information of NDEF message.
static void NDEF_ExtractVcard (sRecordInfo *pRecordStruct, sVcardInfo *pVcardStruct)
 This fonction read the Vcard and store data in a structure.

Function Documentation

static void NDEF_ExtractVcard ( sRecordInfo *  pRecordStruct,
sVcardInfo *  pVcardStruct 
) [static]

This fonction read the Vcard and store data in a structure.

Parameters:
pRecordStruct: Pointer on the record structure
pSMSStruct: pointer on the structure to fill
Return values:
NONE

Definition at line 112 of file lib_NDEF_Vcard.c.

static void NDEF_FillVcardStruct ( uint8_t *  pPayload,
uint32_t  PayloadSize,
char *  pKeyWord,
uint32_t  SizeOfKeyWord,
uint8_t *  pString 
) [static]

This fonction fill Vcard structure with information of NDEF message.

Parameters:
pPayload: pointer on the payload data of the NDEF message
PayloadSize: number of data in the payload
pKeyWord: pointer on the keyword to look for.
SizeOfKeyWord: number of byte of the keyword we are looking for
pString: Pointer on the data string to fill
Return values:
NONE

Definition at line 66 of file lib_NDEF_Vcard.c.