Change NDO_EASY_FRAMING value form 0x02 to 0x41.

Update issue 106
Just changed NDO_EASY_FRAMING value as requested.
This commit is contained in:
Romain Tartiere 2010-09-03 16:47:17 +00:00
parent cbbe559f94
commit c82e1ff30f

View file

@ -144,8 +144,6 @@ typedef enum {
NDO_HANDLE_CRC = 0x00,
/** Parity bits in the network layer of ISO14443-A are by default generated and validated in the PN53X chip. This is a very convenient feature. On certain times though it is useful to get full control of the transmitted data. The proprietary MIFARE Classic protocol uses for example custom (encrypted) parity bits. For interoperability it is required to be completely compatible, including the arbitrary parity bits. When this option is disabled, the functions to communicating bits should be used. */
NDO_HANDLE_PARITY = 0x01,
/** Use automatic frames encapsulation and chaining. */
NDO_EASY_FRAMING = 0x02,
/** This option can be used to enable or disable the electronic field of the NFC device. */
NDO_ACTIVATE_FIELD = 0x10,
/** The internal CRYPTO1 co-processor can be used to transmit messages encrypted. This option is automatically activated after a successful MIFARE Classic authentication. */
@ -158,6 +156,8 @@ typedef enum {
NDO_ACCEPT_MULTIPLE_FRAMES = 0x31,
/** This option can be used to enable or disable the auto-switching mode to ISO14443-4 is device is compliant */
NDO_AUTO_ISO14443_4 = 0x40,
/** Use automatic frames encapsulation and chaining. */
NDO_EASY_FRAMING = 0x41,
} nfc_device_option_t;
////////////////////////////////////////////////////////////////////