ST Americas mbed Team / lib_NFC_NDEF

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_Public_Functions

LibVcard_Public_Functions
[LibNFC_FORUM]

This file is used to manage Vcard (stored or loaded in tag) More...

Functions

uint16_t NDEF_ReadVcard (sRecordInfo *pRecordStruct, sVcardInfo *pVcardStruct)
 This fonction read NDEF and retrieve Vcard information if any.
uint16_t NDEF_WriteVcard (sVcardInfo *pVcardStruct)
 This fonction write the NDEF file with the Vcard data given in the structure.

Detailed Description

This file is used to manage Vcard (stored or loaded in tag)


Function Documentation

uint16_t NDEF_ReadVcard ( sRecordInfo *  pRecordStruct,
sVcardInfo *  pVcardStruct 
)

This fonction read NDEF and retrieve Vcard information if any.

Parameters:
pRecordStruct: Pointer on the record structure
pVcardStruct: pointer on the structure to fill
Return values:
SUCCESS: Vcard information from NDEF have been retrieved
ERROR: Not able to retrieve Vcard information

Definition at line 165 of file lib_NDEF_Vcard.c.

uint16_t NDEF_WriteVcard ( sVcardInfo *  pVcardStruct )

This fonction write the NDEF file with the Vcard data given in the structure.

Parameters:
pVcardStruct: pointer on structure that contain the Vcard information
Return values:
SUCCESS: the function is succesful
ERROR: Not able to store NDEF file inside tag.

Definition at line 184 of file lib_NDEF_Vcard.c.