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

LibSMS_Public_Functions

LibSMS_Public_Functions
[LibNFC_FORUM]

This file is used to manage SMS (stored or loaded in tag) More...

Functions

uint16_t NDEF_ReadSMS (sRecordInfo *pRecordStruct, sSMSInfo *pSMSStruct)
 This fonction read NDEF and retrieve SMS information if any.
uint16_t NDEF_WriteSMS (sSMSInfo *pSMSStruct)
 This fonction write the NDEF file with the SMS data given in the structure.

Detailed Description

This file is used to manage SMS (stored or loaded in tag)


Function Documentation

uint16_t NDEF_ReadSMS ( sRecordInfo *  pRecordStruct,
sSMSInfo *  pSMSStruct 
)

This fonction read NDEF and retrieve SMS information if any.

Parameters:
pRecordStruct: Pointer on the record structure
pSMSStruct: pointer on the structure to fill
Return values:
SUCCESS: SMS information from NDEF have been retrieve
ERROR: Not able to retrieve SMS information

Definition at line 155 of file lib_NDEF_SMS.c.

uint16_t NDEF_WriteSMS ( sSMSInfo *  pSMSStruct )

This fonction write the NDEF file with the SMS data given in the structure.

Parameters:
pSMSStruct: pointer on structure that contain the SMS information
Return values:
SUCCESS: the function is succesful
ERROR: Not able to store NDEF file inside tag.

Definition at line 206 of file lib_NDEF_SMS.c.