Fork for the GitHub
LibNDEF_Private_Functions
[LibNFC_FORUM]
Functions | |
| static uint16_t | NDEF_IsNDEFPresent (I2C *mi2cChannel) |
| This function checks that the tag contain a NDEF message. | |
| static uint16_t | NDEF_ParseRecordHeader (sRecordInfo_t *pRecordStruct) |
| This function parse the record header and dispatch regarding TNF value. | |
| static void | NDEF_ParseWellKnownType (sRecordInfo_t *pRecordStruct) |
| This function parse the Well Known type record. | |
| static void | NDEF_ParseMediaType (sRecordInfo_t *pRecordStruct) |
| This function parse the Media type record. | |
| static void | NDEF_ParseForumExternalType (sRecordInfo_t *pRecordStruct) |
| This function parse the Forum External type record. | |
| static void | NDEF_ParseURI (sRecordInfo_t *pRecordStruct) |
| This function parse the URI type record. | |
| static void | NDEF_ParseSP (sRecordInfo_t *pRecordStruct) |
| This function parse the Smart Poster. | |
| static uint16_t | NDEF_IdentifySPRecord (sRecordInfo_t *pRecordStruct, uint8_t *pPayload) |
| This function identify the type of record. | |
Variables | |
| uint8_t | NDEF_Buffer [NDEF_MAX_SIZE] |
| This buffer is used to store the data sent/received by the TAG. | |
| uint32_t | NDEF_Buffer_size = NDEF_MAX_SIZE |
| Size of the buffer used to build the NDEF messages. | |
| uint8_t | NDEF_Record_Buffer [NDEF_RECORD_MAX_SIZE] |
| This buffer is used when it's required to prepare a record before adding it to the NDEF_Buffer. | |
| uint32_t | NDEF_Record_Buffer_size = NDEF_RECORD_MAX_SIZE |
| Size of the buffer used when a record has to be prepared. | |
Function Documentation
| static uint16_t NDEF_IdentifySPRecord | ( | sRecordInfo_t * | pRecordStruct, |
| uint8_t * | pPayload | ||
| ) | [static] |
This function identify the type of record.
- Parameters:
-
pRecordStruct : pointer on the record structure to fill. pPayload : pointer on the payload.
- Return values:
-
Status : Status of the operation.
Definition at line 101 of file lib_NDEF.cpp.
| static uint16_t NDEF_IsNDEFPresent | ( | I2C * | mi2cChannel ) | [static] |
This function checks that the tag contain a NDEF message.
- Return values:
-
NDEF_OK : There is a NDEF file stored in tag. NDEF_ERROR : No NDEF in the tag.
Definition at line 82 of file lib_NDEF.cpp.
| static void NDEF_ParseForumExternalType | ( | sRecordInfo_t * | pRecordStruct ) | [static] |
This function parse the Forum External type record.
- Parameters:
-
pRecordStruct : pointer on the record structure to fill.
Definition at line 283 of file lib_NDEF.cpp.
| static void NDEF_ParseMediaType | ( | sRecordInfo_t * | pRecordStruct ) | [static] |
This function parse the Media type record.
- Parameters:
-
pRecordStruct : pointer on the record structure to fill.
Definition at line 261 of file lib_NDEF.cpp.
| static uint16_t NDEF_ParseRecordHeader | ( | sRecordInfo_t * | pRecordStruct ) | [static] |
This function parse the record header and dispatch regarding TNF value.
- Parameters:
-
pRecordStruct : pointer on the record structure to fill.
- Return values:
-
NDEF_OK : record identified and structure filled. NDEF_ERROR : Not supported.
Definition at line 176 of file lib_NDEF.cpp.
| static void NDEF_ParseSP | ( | sRecordInfo_t * | pRecordStruct ) | [static] |
This function parse the Smart Poster.
- Parameters:
-
pRecordStruct : pointer on the record structure to fill.
Definition at line 318 of file lib_NDEF.cpp.
| static void NDEF_ParseURI | ( | sRecordInfo_t * | pRecordStruct ) | [static] |
This function parse the URI type record.
- Parameters:
-
pRecordStruct : pointer on the record structure to fill.
Definition at line 295 of file lib_NDEF.cpp.
| static void NDEF_ParseWellKnownType | ( | sRecordInfo_t * | pRecordStruct ) | [static] |
This function parse the Well Known type record.
- Parameters:
-
pRecordStruct : pointer on the record structure to fill.
Definition at line 206 of file lib_NDEF.cpp.
Variable Documentation
| uint8_t NDEF_Buffer[NDEF_MAX_SIZE] |
This buffer is used to store the data sent/received by the TAG.
This buffer contains the data send/received by TAG.
Definition at line 65 of file lib_NDEF.cpp.
| uint32_t NDEF_Buffer_size = NDEF_MAX_SIZE |
Size of the buffer used to build the NDEF messages.
Definition at line 67 of file lib_NDEF.cpp.
| uint8_t NDEF_Record_Buffer[NDEF_RECORD_MAX_SIZE] |
This buffer is used when it's required to prepare a record before adding it to the NDEF_Buffer.
Definition at line 69 of file lib_NDEF.cpp.
| uint32_t NDEF_Record_Buffer_size = NDEF_RECORD_MAX_SIZE |
Size of the buffer used when a record has to be prepared.
Definition at line 71 of file lib_NDEF.cpp.
Generated on Fri Jul 15 2022 10:08:35 by
1.7.2