   r.setPayload(payload, sizeof(payload));
   uint8_t id[] = { 0x0, 0x0, 0x0 };
   r.setId(id, sizeof(id));
-  m.add(r);
+  m.addRecord(r);
   m.print();
 }
 

  r.setType(type, sizeof(type));
  uint8_t payload[] = { 0x02, 0x65, 0x6E, 0x66, 0x6F, 0x6F };
  r.setPayload(payload, sizeof(payload));
  m.add(r);
  m.print();
}


{
  NdefMessage m = NdefMessage();
  NdefRecord r = NdefRecord();
  m.addRecord(r);
  m.print();
}

