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

Show/hide line numbers lib_NDEF_URI.h Source File

lib_NDEF_URI.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    lib_NDEF_URI.h
00004   * @author  MMY Application Team
00005   * @version V1.0.0
00006   * @date    20-November-2013
00007   * @brief   This file help to manage URI NDEF file.
00008   ******************************************************************************
00009   * @attention
00010   *
00011   * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
00012   *
00013   * Licensed under MMY-ST Liberty SW License Agreement V2, (the "License");
00014   * You may not use this file except in compliance with the License.
00015   * You may obtain a copy of the License at:
00016   *
00017   *        http://www.st.com/software_license_agreement_liberty_v2
00018   *
00019   * Unless required by applicable law or agreed to in writing, software 
00020   * distributed under the License is distributed on an "AS IS" BASIS, 
00021   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00022   * See the License for the specific language governing permissions and
00023   * limitations under the License.
00024   *
00025   ******************************************************************************
00026   */
00027 
00028 /* Define to prevent recursive inclusion -------------------------------------*/
00029 #ifndef __LIB_NDEF_URI_H
00030 #define __LIB_NDEF_URI_H
00031 
00032 #ifdef __cplusplus
00033  extern "C" {
00034 #endif
00035 
00036 /* Includes ------------------------------------------------------------------*/
00037 #include "lib_NDEF.h"
00038      
00039 typedef struct 
00040 {
00041     char protocol[80];
00042     char URI_Message[200];
00043     char Information[200];
00044 }sURI_Info;
00045          
00046 uint16_t NDEF_ReadURI(sRecordInfo *pRecordStruct, sURI_Info *pURI);
00047 uint16_t NDEF_WriteURI(sURI_Info *pURI);
00048 char getUriType(char *protocol);
00049 
00050 #ifdef __cplusplus
00051 }
00052 #endif
00053      
00054 #endif /* __LIB_NDEF_URI_H */
00055 
00056 /******************* (C) COPYRIGHT 2013 STMicroelectronics *****END OF FILE****/