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

lib_NDEF.c File Reference

lib_NDEF.c File Reference

This file help to manage NDEF file, to parse and identify them. More...

Go to the source code of this file.

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.
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.

Detailed Description

This file help to manage NDEF file, to parse and identify them.

Author:
MMY Application Team
Version:
V1.0.0
Date:
20-November-2013
Attention:

© COPYRIGHT 2014 STMicroelectronics

Licensed under MMY-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file lib_NDEF.c.