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

lib_NDEF_Geo.c File Reference

lib_NDEF_Geo.c File Reference

This file help to manage NDEF file that represent geolocation. More...

Go to the source code of this file.

Functions

static void NDEF_FillGeoStruct (uint8_t *pPayload, uint32_t PayloadSize, sGeoInfo *pGeoStruct)
 This fonction fill Geo structure with information of NDEF message.
static void NDEF_ReadURI_Geo (sRecordInfo *pRecordStruct, sGeoInfo *pGeoStruct)
 This fonction read the geoloccation information and store data in a structure.
uint16_t NDEF_ReadGeo (sRecordInfo *pRecordStruct, sGeoInfo *pGeoStruct)
 This fonction read NDEF and retrieve Geo information if any.
uint16_t NDEF_WriteGeo (sGeoInfo *pGeoStruct)
 This fonction write the NDEF file with the geolocation data given in the structure.

Variables

uint8_t NDEF_Buffer [NDEF_MAX_SIZE]
 This buffer contains the data send/received by TAG.

Detailed Description

This file help to manage NDEF file that represent geolocation.

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