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

LibURI_Public_Functions

LibURI_Public_Functions
[LibNFC_FORUM]

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

Functions

uint16_t NDEF_ReadURI (sRecordInfo *pRecordStruct, sURI_Info *pURI)
 This fonction read NDEF and retrieve URI information if any.
uint16_t NDEF_WriteURI (sURI_Info *pURI)
 This fonction write the NDEF file with the URI data given in the structure.

Detailed Description

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


Function Documentation

uint16_t NDEF_ReadURI ( sRecordInfo *  pRecordStruct,
sURI_Info *  pURI 
)

This fonction read NDEF and retrieve URI information if any.

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

Definition at line 282 of file lib_NDEF_URI.c.

uint16_t NDEF_WriteURI ( sURI_Info *  pURI )

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

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

Definition at line 331 of file lib_NDEF_URI.c.