Fork for the GitHub
LibURI_Public_Functions
[LibNFC_FORUM]
This file is used to manage URI (stored or loaded in tag) More...
Functions | |
| uint16_t | NDEF_ReadURI (sRecordInfo_t *pRecordStruct, sURI_Info *pURI) |
| This function read NDEF and retrieve URI information if any. | |
| void | NDEF_PrepareURIMessage (sURI_Info *pURI, uint8_t *pNDEFMessage, uint16_t *size) |
| This function prepare the NDEF message with the URI data given in the structure. | |
| uint16_t | NDEF_WriteURI (sURI_Info *pURI, I2C *mi2cChannel) |
| This function write the NDEF file with the URI data given in the structure. | |
Detailed Description
This file is used to manage URI (stored or loaded in tag)
Function Documentation
| void NDEF_PrepareURIMessage | ( | sURI_Info * | pURI, |
| uint8_t * | pNDEFMessage, | ||
| uint16_t * | size | ||
| ) |
This function prepare the NDEF message with the URI data given in the structure.
- Parameters:
-
pURI : pointer on structure that contain the URI information. pNDEFMessage : pointer on the NDEF message. size : to store the size of the NDEF message generated.
Definition at line 329 of file lib_NDEF_URI.cpp.
| uint16_t NDEF_ReadURI | ( | sRecordInfo_t * | pRecordStruct, |
| sURI_Info * | pURI | ||
| ) |
This function read NDEF and retrieve URI information if any.
- Parameters:
-
pRecordStruct : Pointer on the record structure. pURI : pointer on the structure to fill.
- Return values:
-
NDEF_OK : URI information from NDEF have been retrieved. NDEF_ERROR : Not able to retrieve URI information.
Definition at line 280 of file lib_NDEF_URI.cpp.
| uint16_t NDEF_WriteURI | ( | sURI_Info * | pURI, |
| I2C * | mi2cChannel | ||
| ) |
This function write the NDEF file with the URI data given in the structure.
- Parameters:
-
pURI : pointer on structure that contain the URI 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 473 of file lib_NDEF_URI.cpp.
Generated on Fri Jul 15 2022 10:08:35 by
1.7.2