NTAGInfo

Syntax

#include <cafe/ntag.h>

typedef struct
{
    u32 makerCode ;
    u32 identifyCode ;
    u16 dataSize ;
    u8* data ;
    u8  reserved[32];
} NTAGDataStructure ;

typedef struct
{
    u8  uid[NTAG_UID_SIZE] ;
    u8  readOnly ;
    u8  formatVersion ;    
    NTAGDataStructure ramData ;
    NTAGDataStructure romData ;
    u8  reserved[32] ;
} NTAGInfo ;

Elements

uid ID of the detected tag (7 bytes).
read_only Read-only setting of the detected tag.
  • NTAG_NOT_READ_ONLY(0) : Not set to read-only.
  • NTAG_READ_ONLY (1) : Set to read-only.
formatVersion NOFT format version.
ramData RAM area data structure (NTAGDataStructure).
romData ROM area data structure (NTAGDataStructure).
reserved Reserved region.

NTAGDataStructure

A structure for passing the NOFT RAM and ROM areas.

makerCode4-byte company code.
identifyCode4-byte ID code.
dataSizeData size.
dataPointer to data.

Description

The information for the NOFT data obtained with a callback that can be set in NTAGRead. The table above describes the information that is obtained.

See Also

NTAGRead

Revision History

2013/05/08 Automated cleanup pass.
2012/11/30 Initial version.


CONFIDENTIAL