don / NDEF

NDEF Library for Arduino. Read and Write NDEF Messages to NFC tags with Arduino.
Other
286 stars 142 forks source link

NdefRecord::encode id bug #30

Closed MatthewWilcock closed 8 years ago

MatthewWilcock commented 8 years ago

The payload is copied before the id, which results in a corrupted record. The payload should be copied after the id. The bug is between lines 173 and 180 of NdefRecord.cpp

jlkalberer commented 8 years ago

Created a pull request for this here - https://github.com/don/NDEF/pull/31

don commented 8 years ago

screen shot 2015-12-08 at 4 23 28 pm

don commented 8 years ago

Fixed in pull request #31