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_Private_Functions

LibNDEF_Private_Functions
[LibNFC_FORUM]

Functions

static uint16_t NDEF_IsNDEFPresent (void)
 This fonction check that the tag contain a NDEF message.
static uint16_t NDEF_ParseRecordHeader (sRecordInfo *pRecordStruct)
 This fonction parse the record header and dispatch regarding TNF value.
static void NDEF_ParseWellKnownType (sRecordInfo *pRecordStruct)
 This fonction parse the Well Known type record.
static void NDEF_ParseMediaType (sRecordInfo *pRecordStruct)
 This fonction parse the Media type record.
static void NDEF_ParseForumExternalType (sRecordInfo *pRecordStruct)
 This fonction parse the Forum External type record.
static void NDEF_ParseURI (sRecordInfo *pRecordStruct)
 This fonction parse the URI type record.
static void NDEF_ParseSP (sRecordInfo *pRecordStruct)
 This fonction parse the Smart Poster.
static uint16_t NDEF_IdentifySPRecord (sRecordInfo *pRecordStruct, uint8_t *pPayload)
 This fonction identify the type of record.

Function Documentation

static uint16_t NDEF_IdentifySPRecord ( sRecordInfo *  pRecordStruct,
uint8_t *  pPayload 
) [static]

This fonction identify the type of record.

Parameters:
pRecordStruct: pointer on the record structure to fill
pPayload: pointer on the payload
Return values:
Status: Status of the operation.

Definition at line 89 of file lib_NDEF.c.

static uint16_t NDEF_IsNDEFPresent ( void   ) [static]

This fonction check that the tag contain a NDEF message.

Parameters:
None:
Return values:
SUCCESS: There is a NDEF file stored in tag
ERROR: No NDEF in the tag.

Definition at line 68 of file lib_NDEF.c.

static void NDEF_ParseForumExternalType ( sRecordInfo *  pRecordStruct ) [static]

This fonction parse the Forum External type record.

Parameters:
pRecordStruct: pointer on the record structure to fill
Return values:
None

Definition at line 266 of file lib_NDEF.c.

static void NDEF_ParseMediaType ( sRecordInfo *  pRecordStruct ) [static]

This fonction parse the Media type record.

Parameters:
pRecordStruct: pointer on the record structure to fill
Return values:
None

Definition at line 251 of file lib_NDEF.c.

static uint16_t NDEF_ParseRecordHeader ( sRecordInfo *  pRecordStruct ) [static]

This fonction parse the record header and dispatch regarding TNF value.

Parameters:
pRecordStruct: pointer on the record structure to fill
Return values:
SUCCESS: record identified and structure filled
ERROR: Not supported

Definition at line 167 of file lib_NDEF.c.

static void NDEF_ParseSP ( sRecordInfo *  pRecordStruct ) [static]

This fonction parse the Smart Poster.

Parameters:
pRecordStruct: pointer on the record structure to fill
Return values:
None

Definition at line 304 of file lib_NDEF.c.

static void NDEF_ParseURI ( sRecordInfo *  pRecordStruct ) [static]

This fonction parse the URI type record.

Parameters:
pRecordStruct: pointer on the record structure to fill
Return values:
None

Definition at line 279 of file lib_NDEF.c.

static void NDEF_ParseWellKnownType ( sRecordInfo *  pRecordStruct ) [static]

This fonction parse the Well Known type record.

Parameters:
pRecordStruct: pointer on the record structure to fill
Return values:
None

Definition at line 198 of file lib_NDEF.c.