Fork for the GitHub
LibMyApp_Public_Functions
[LibNFC_FORUM]
This file is used to manage proprietary NDEF (stored or loaded in tag) More...
Functions | |
| uint16_t | NDEF_ReadMyApp (sRecordInfo_t *pRecordStruct, sMyAppInfo *pMyAppStruct) |
| This function read NDEF and retrieve Application information if any. | |
| uint16_t | NDEF_WriteMyApp (sMyAppInfo *pMyAppStruct, I2C *mi2cChannel) |
| This function write the NDEF file with the Application data given in the structure. | |
Detailed Description
This file is used to manage proprietary NDEF (stored or loaded in tag)
Function Documentation
| uint16_t NDEF_ReadMyApp | ( | sRecordInfo_t * | pRecordStruct, |
| sMyAppInfo * | pMyAppStruct | ||
| ) |
This function read NDEF and retrieve Application information if any.
- Parameters:
-
pRecordStruct : Pointer on the record structure. pMyAppStruct : pointer on the structure to fill.
- Return values:
-
NDEF_OK : NDEF file data read in the tag. NDEF_ERROR : not able to read NDEF in tag.
Definition at line 134 of file lib_NDEF_MyApp.cpp.
| uint16_t NDEF_WriteMyApp | ( | sMyAppInfo * | pMyAppStruct, |
| I2C * | mi2cChannel | ||
| ) |
This function write the NDEF file with the Application data given in the structure.
Only used for debug purpose in this firmware version.
- Parameters:
-
pMyAppStruct : pointer on structure that contain the application information.
- Return values:
-
NDEF_OK : NDEF file data written in the tag. NDEF_ERROR : not able to store NDEF in tag. NDEF_ERROR_MEMORY_INTERNAL : Cannot write to tag. NDEF_ERROR_NOT_FORMATED : CCFile data not supported or not present. NDEF_ERROR_MEMORY_TAG : Size not compatible with memory. NDEF_ERROR_LOCKED : Tag locked, cannot be write.
Definition at line 162 of file lib_NDEF_MyApp.cpp.
Generated on Fri Jul 15 2022 10:08:35 by
1.7.2