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

LibNDEF_Public_Functions

LibNDEF_Public_Functions
[LibNFC_FORUM]

Functions

uint16_t NDEF_IdentifyNDEF (sRecordInfo *pRecordStruct, uint8_t *pNDEF)
 This fonction identify the NDEF message stored in tag.
uint16_t NDEF_ReadNDEF (uint8_t *pNDEF)
 This fonction read the NDEF content of the TAG.
uint16_t NDEF_WriteNDEF (uint8_t *pNDEF)
 This fonction write the NDEF in the TAG.

Function Documentation

uint16_t NDEF_IdentifyNDEF ( sRecordInfo *  pRecordStruct,
uint8_t *  pNDEF 
)

This fonction identify the NDEF message stored in tag.

Parameters:
pRecordStruct: Structure to fill with record information
pNDEF: pointer on the NDEF message data
Return values:
SUCCESS: record struct filled
ERROR: record struct not updated

Definition at line 364 of file lib_NDEF.c.

uint16_t NDEF_ReadNDEF ( uint8_t *  pNDEF )

This fonction read the NDEF content of the TAG.

Parameters:
pNDEF: pointer on the buffer to store NDEF data
Return values:
SUCCESS: NDEF file data retrieve and store in the buffer
ERROR: not able to read NDEF

Definition at line 467 of file lib_NDEF.c.

uint16_t NDEF_WriteNDEF ( uint8_t *  pNDEF )

This fonction write the NDEF in the TAG.

Parameters:
pNDEF: pointer on the buffer containing the NDEF data
Return values:
SUCCESS: NDEF file data written in the tag
ERROR: not able to store NDEF in tag

Definition at line 495 of file lib_NDEF.c.