NFCTagInfo

Syntax

#include <cafe/nfc.h>

#define NFC_MAX_UID_SIZE    (10)

#define NFC_POLL_TYPE_A     (0x00)
#define NFC_POLL_TYPE_B     (0x01)
#define NFC_POLL_TYPE_F     (0x02)

#define NFC_TYPE_1_TAG      (0x01)
#define NFC_TYPE_2_TAG      (0x02)
#define NFC_TYPE_3_TAG      (0x03)
#define NFC_TYPE_4_TAG      (0x04)

typedef struct 
{
    u8 uid_len ;
    u8 uid[NFC_MAX_UID_SIZE];
    u8 rf_mode ;
    u8 tag_type ;
    u8 reserved[32];
} NFCTagInfo;

Elements

uid_len UID length of the detected tag.
uid UID of the detected tag (maximum 10 bytes).
rf_mode Communication method of the tag.
  • NFC-A
  • NFC-B
  • NFC-F
tag_type Tag type stipulated by the NFC Forum.
  • Type 1 Tag
  • Type 2 Tag
  • Type 3 Tag
  • Type 4 Tag
reserved Reserved region.

Description

The information for the detected tag obtained with a callback that can be set in NFCGetTagInfo. The table above describes the information that is obtained.

See Also

NFCGetTagInfo

Revision History

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


CONFIDENTIAL