NFC NDEF library

Dependents:   Nucleo_NFC_Example I2C_NFC_Master Print_Entire_Nucleo_NFC01A1_Memory

Fork of lib_NDEF by Enrico Gregoratto

Committer:
EnricoG
Date:
Mon Dec 15 19:41:36 2014 +0000
Revision:
0:3b093bd0819e
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
EnricoG 0:3b093bd0819e 1 /**
EnricoG 0:3b093bd0819e 2 ******************************************************************************
EnricoG 0:3b093bd0819e 3 * @file lib_NDEF_Email.h
EnricoG 0:3b093bd0819e 4 * @author MMY Application Team
EnricoG 0:3b093bd0819e 5 * @version V1.0.0
EnricoG 0:3b093bd0819e 6 * @date 20-November-2013
EnricoG 0:3b093bd0819e 7 * @brief This file help to manage Email NDEF file.
EnricoG 0:3b093bd0819e 8 ******************************************************************************
EnricoG 0:3b093bd0819e 9 * @attention
EnricoG 0:3b093bd0819e 10 *
EnricoG 0:3b093bd0819e 11 * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
EnricoG 0:3b093bd0819e 12 *
EnricoG 0:3b093bd0819e 13 * Licensed under MMY-ST Liberty SW License Agreement V2, (the "License");
EnricoG 0:3b093bd0819e 14 * You may not use this file except in compliance with the License.
EnricoG 0:3b093bd0819e 15 * You may obtain a copy of the License at:
EnricoG 0:3b093bd0819e 16 *
EnricoG 0:3b093bd0819e 17 * http://www.st.com/software_license_agreement_liberty_v2
EnricoG 0:3b093bd0819e 18 *
EnricoG 0:3b093bd0819e 19 * Unless required by applicable law or agreed to in writing, software
EnricoG 0:3b093bd0819e 20 * distributed under the License is distributed on an "AS IS" BASIS,
EnricoG 0:3b093bd0819e 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
EnricoG 0:3b093bd0819e 22 * See the License for the specific language governing permissions and
EnricoG 0:3b093bd0819e 23 * limitations under the License.
EnricoG 0:3b093bd0819e 24 *
EnricoG 0:3b093bd0819e 25 ******************************************************************************
EnricoG 0:3b093bd0819e 26 */
EnricoG 0:3b093bd0819e 27
EnricoG 0:3b093bd0819e 28 /* Define to prevent recursive inclusion -------------------------------------*/
EnricoG 0:3b093bd0819e 29 #ifndef __LIB_NDEF_EMAIL_H
EnricoG 0:3b093bd0819e 30 #define __LIB_NDEF_EMAIL_H
EnricoG 0:3b093bd0819e 31
EnricoG 0:3b093bd0819e 32 #ifdef __cplusplus
EnricoG 0:3b093bd0819e 33 extern "C" {
EnricoG 0:3b093bd0819e 34 #endif
EnricoG 0:3b093bd0819e 35
EnricoG 0:3b093bd0819e 36 /* Includes ------------------------------------------------------------------*/
EnricoG 0:3b093bd0819e 37 #include "lib_NDEF.h"
EnricoG 0:3b093bd0819e 38
EnricoG 0:3b093bd0819e 39 /* "mailto:customer.service@st.com?subject=M24SR S/N 754FHFGJF46G329 WARRANTY&body=this is an auomatic warranty activation email" */
EnricoG 0:3b093bd0819e 40
EnricoG 0:3b093bd0819e 41 typedef struct
EnricoG 0:3b093bd0819e 42 {
EnricoG 0:3b093bd0819e 43 char EmailAdd[64];
EnricoG 0:3b093bd0819e 44 char Subject[100];
EnricoG 0:3b093bd0819e 45 char Message[400];
EnricoG 0:3b093bd0819e 46 char Information[400];
EnricoG 0:3b093bd0819e 47 }sEmailInfo;
EnricoG 0:3b093bd0819e 48
EnricoG 0:3b093bd0819e 49
EnricoG 0:3b093bd0819e 50 uint16_t NDEF_ReadEmail(sRecordInfo *pRecordStruct, sEmailInfo *pEmailStruct);
EnricoG 0:3b093bd0819e 51 uint16_t NDEF_WriteEmail( sEmailInfo *pEmailStruct );
EnricoG 0:3b093bd0819e 52
EnricoG 0:3b093bd0819e 53 #ifdef __cplusplus
EnricoG 0:3b093bd0819e 54 }
EnricoG 0:3b093bd0819e 55 #endif
EnricoG 0:3b093bd0819e 56
EnricoG 0:3b093bd0819e 57 #endif /* __LIB_NDEF_EMAIL_H */
EnricoG 0:3b093bd0819e 58
EnricoG 0:3b093bd0819e 59 /******************* (C) COPYRIGHT 2013 STMicroelectronics *****END OF FILE****/