NFC library using PN532 to read/write NDEF Messages to NFC tags
Dependents: Seeed_NFC_Shield_write Nucleo_test_nfc
Fork of PN532 by
Diff: NdefMessage.cpp
- Revision:
- 6:26c1b3b6c192
- Parent:
- 3:4189a10038e6
--- a/NdefMessage.cpp Tue Mar 25 16:00:44 2014 +0000 +++ b/NdefMessage.cpp Tue Mar 25 16:48:10 2014 +0000 @@ -24,9 +24,9 @@ // decode tnf - first uint8_t is tnf with bit flags // see the NFDEF spec for more info uint8_t tnf_uint8_t = data[index]; - bool mb = (tnf_uint8_t & 0x80) != 0; + //bool mb = (tnf_uint8_t & 0x80) != 0; bool me = (tnf_uint8_t & 0x40) != 0; - bool cf = (tnf_uint8_t & 0x20) != 0; + //bool cf = (tnf_uint8_t & 0x20) != 0; bool sr = (tnf_uint8_t & 0x10) != 0; bool il = (tnf_uint8_t & 0x8) != 0; uint8_t tnf = (tnf_uint8_t & 0x7);