Fork for the GitHub

Embed: (wiki syntax)

« Back to documentation index

LibAAR_Public_Functions

LibAAR_Public_Functions
[LibNFC_FORUM]

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

Functions

uint16_t NDEF_AddAAR (const sAARInfo *pAARStruct, I2C *mi2cChannel)
 This function add AAR (Android Application Record) in the tag.

Detailed Description

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


Function Documentation

uint16_t NDEF_AddAAR ( const sAARInfo *  pAARStruct,
I2C *  mi2cChannel 
)

This function add AAR (Android Application Record) in the tag.

Parameters:
pAARStruct: pointer on structure that contain AAR information.
Return values:
NDEF_OK: AAR added.
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 74 of file lib_NDEF_AAR.cpp.