Is there is an option to change the payload of NFC t2t after setting the payload.
So the requirement is once there is a polling device is in the field, we need to change the payload back to back in the same session.
Is there is an option to change the payload of NFC t2t after setting the payload.
So the requirement is once there is a polling device is in the field, we need to change the payload back to back in the same session.
Could the procedure suggested here work?
https://devzone.nordicsemi.com/f/nordic-q-a/19627/nrf52-nfc-record_text-example
Is it possible without calling nfc_t2t_emulation_stop()
and reinitialize.
Because If it is reinitialized then it will detect a new FIELD_ON in the same session right?
After polling NFC_T2T_EVENT_DATA_READ, Is it possible to change the string and get another NFC_T2T_EVENT_DATA_READ?
Hi,
What happens is, that the T2T lib only allows tag data modification while emulation is stopped meaning you need to callnfc_t2t_emulation_stop() and reinitialize to do this safely.
Otherwise, the application can always change the data in the buffer provided to NFC (not using nfc_t2t API ), but then there is a risk of sending inconsistent data to the NFC Reader (e.g. when copying new data once a DMA transfer in NFCT is active).
If the you decide to re-start the NFC using emulation_stop() and emulation_start(), then yes, typically after restart there will come FIELD_ON event, though this depends on the exact behavior of an NFC Reader. Generally FIELD_ON event means the Reader is in range and has Selected the nRF tag for communication.
Best regards,
Kenneth