libnfc
1.4.2
|
PN531, PN532 and PN533 common functions. More...
#include <nfc/nfc-types.h>
Go to the source code of this file.
Enumerations | |
enum | pn53x_modulation_t { PM_UNDEFINED = -1, PM_ISO14443A_106 = 0x00, PM_FELICA_212 = 0x01, PM_FELICA_424 = 0x02, PM_ISO14443B_106 = 0x03, PM_JEWEL_106 = 0x04, PM_ISO14443B_212 = 0x06, PM_ISO14443B_424 = 0x07, PM_ISO14443B_847 = 0x08 } |
NFC modulation. More... | |
enum | pn53x_target_type_t { PTT_UNDEFINED = -1, PTT_GENERIC_PASSIVE_106 = 0x00, PTT_GENERIC_PASSIVE_212 = 0x01, PTT_GENERIC_PASSIVE_424 = 0x02, PTT_ISO14443_4B_106 = 0x03, PTT_JEWEL_106 = 0x04, PTT_MIFARE = 0x10, PTT_FELICA_212 = 0x11, PTT_FELICA_424 = 0x12, PTT_ISO14443_4A_106 = 0x20, PTT_ISO14443_4B_TCL_106 = 0x23, PTT_DEP_PASSIVE_106 = 0x40, PTT_DEP_PASSIVE_212 = 0x41, PTT_DEP_PASSIVE_424 = 0x42, PTT_DEP_ACTIVE_106 = 0x80, PTT_DEP_ACTIVE_212 = 0x81, PTT_DEP_ACTIVE_424 = 0x82 } |
NFC target type enumeration. More... | |
enum | pn53x_target_mode_t { PTM_NORMAL = 0x00, PTM_PASSIVE_ONLY = 0x01, PTM_DEP_ONLY = 0x02, PTM_ISO14443_4_PICC_ONLY = 0x04 } |
PN53x target mode enumeration. More... |
Functions | |
bool | pn53x_InJumpForDEP (nfc_device_t *pnd, const nfc_dep_mode_t ndm, const nfc_baud_rate_t nbr, const byte_t *pbtPassiveInitiatorData, const byte_t *pbtNFCID3i, const byte_t *pbtGB, const size_t szGB, nfc_target_t *pnt) |
Wrapper for InJumpForDEP command. |
PN531, PN532 and PN533 common functions.
Definition in file pn53x.h.
enum pn53x_modulation_t |
NFC modulation.
PM_UNDEFINED |
Undefined modulation |
PM_ISO14443A_106 |
ISO14443-A (NXP MIFARE) http://en.wikipedia.org/wiki/MIFARE |
PM_FELICA_212 |
JIS X 6319-4 (Sony Felica) http://en.wikipedia.org/wiki/FeliCa |
PM_FELICA_424 |
JIS X 6319-4 (Sony Felica) http://en.wikipedia.org/wiki/FeliCa |
PM_ISO14443B_106 |
ISO14443-B http://en.wikipedia.org/wiki/ISO/IEC_14443 (Not supported by PN531) |
PM_JEWEL_106 |
Jewel Topaz (Innovision Research & Development) (Not supported by PN531) |
PM_ISO14443B_212 |
ISO14443-B http://en.wikipedia.org/wiki/ISO/IEC_14443 (Not supported by PN531 nor PN532) |
PM_ISO14443B_424 |
ISO14443-B http://en.wikipedia.org/wiki/ISO/IEC_14443 (Not supported by PN531 nor PN532) |
PM_ISO14443B_847 |
ISO14443-B http://en.wikipedia.org/wiki/ISO/IEC_14443 (Not supported by PN531 nor PN532) |
enum pn53x_target_mode_t |
PN53x target mode enumeration.
enum pn53x_target_type_t |
NFC target type enumeration.
bool pn53x_InJumpForDEP | ( | nfc_device_t * | pnd, |
const nfc_dep_mode_t | ndm, | ||
const nfc_baud_rate_t | nbr, | ||
const byte_t * | pbtPassiveInitiatorData, | ||
const byte_t * | pbtNFCID3i, | ||
const byte_t * | pbtGBi, | ||
const size_t | szGBi, | ||
nfc_target_t * | pnt | ||
) |
Wrapper for InJumpForDEP command.
pmInitModulation | desired initial modulation | |
pbtPassiveInitiatorData | NFCID1 (4 bytes) at 106kbps (optionnal, see NFCIP-1: 11.2.1.26) or Polling Request Frame's payload (5 bytes) at 212/424kbps (mandatory, see NFCIP-1: 11.2.2.5) | |
szPassiveInitiatorData | size of pbtPassiveInitiatorData content | |
pbtNFCID3i | NFCID3 of the initiator | |
pbtGBi | General Bytes of the initiator | |
szGBi | count of General Bytes | |
[out] | pnt | nfc_target_t which will be filled by this function |