API  2.2
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Types

Data Structures

struct  tsmart_nfc_id_t
 NFC ID structure. More...
 
struct  tsmart_nfc_t
 Handler NFC device. More...
 

Enumerations

enum  tsmart_nfc_boolean_t { TSMART_NFC_ENABLE = 0x01, TSMART_NFC_DISABLE = 0x00 }
 Label to ENABLE or DISABLE. More...
 
enum  tsmart_nfc_sam_mode_t { TSMART_NFC_API_NORMAL_MODE = 0x01, TSMART_NFC_API_VIRTUAL_CARD = 0x02, TSMART_NFC_API_WIRED_CARD = 0x03, TSMART_NFC_API_DUAL_CARD = 0x04 }
 Label to select SAM Configuration Mode. More...
 
enum  tsmart_nfc_target_number_t { TSMART_NFC_API_1_TARGET = 0x01, TSMART_NFC_API_2_TARGET = 0x02 }
 Label to select the maximum number of targets to be initialized by the PN532. The PN532 is capable of handling 2 targets maximum at once. More...
 
enum  tsmart_nfc_baud_mod_t {
  TSMART_NFC_API_106_TYPE_A = 0x00, TSMART_NFC_API_212_FELICA = 0x01, TSMART_NFC_API_424_FELICA = 0x02, TSMART_NFC_API_106_TYPE_B = 0x03,
  TSMART_NFC_API_106_JEWEL = 0x04
}
 Label to select baud rate and the modulation type to be used during the initialization. More...
 

Detailed Description

Enumeration Type Documentation

Label to select baud rate and the modulation type to be used during the initialization.

Enumerator
TSMART_NFC_API_106_TYPE_A 

106 kbps type A (ISO/IEC14443 Type A)

TSMART_NFC_API_212_FELICA 

212 kbps (FeliCa polling)

TSMART_NFC_API_424_FELICA 

424 kbps (FeliCa polling)

TSMART_NFC_API_106_TYPE_B 

106 kbps type B (ISO/IEC14443-3B)

TSMART_NFC_API_106_JEWEL 

106 kbps Innovision Jewel tag

Label to ENABLE or DISABLE.

Enumerator
TSMART_NFC_ENABLE 

ENABLED

TSMART_NFC_DISABLE 

DISABLED

Label to select SAM Configuration Mode.

Enumerator
TSMART_NFC_API_NORMAL_MODE 

The SAM is not used; this is the default mode

TSMART_NFC_API_VIRTUAL_CARD 

The couple PN532+SAM is seen as only one contactless SAM card from the external world

TSMART_NFC_API_WIRED_CARD 

The host controller can access to the SAM with standard PCD commands (InListPassiveTarget, InDataExchange, …)

TSMART_NFC_API_DUAL_CARD 

Both the PN532 and the SAM are visible from the external world as two separated targets

Label to select the maximum number of targets to be initialized by the PN532. The PN532 is capable of handling 2 targets maximum at once.

Enumerator
TSMART_NFC_API_1_TARGET 

List 1 Target

TSMART_NFC_API_2_TARGET 

List 2 Target