The data received in the NFC callback event is already saved to nRF52832 flash already or not?

I am working on a nRF52832 NFC tag application.
If I use a NFC-enabled smartphone to write a text message to the NFC tag emulated by nRF52832.
The nfc_callback c
allback function for handling NFC events will be called.

What I would like to know that the "uint8_t *data" NFC recceived/written data from smartphone is already stored to nRF52832 internal flash automatically?
Or the data is just stored to RAM only?

If the NFC data is stored to flash already, what is the default memory location?

Or if the NFC data is just stored to RAM, that means I need to perform FDS store action by myself, right?

Thanks.

Parents
  • Hello,

    The NFC data that is written to the NFC tag is only stored in RAM. If you want to save it persistently, you can use FDS, as you suggest.

    You can check out how to do that in the fds sample: SDK\examples\peripheral\flash_fds.

    I actually prefer this sample in some of the older SDKs, where there is no CLI. The API should be more or less the same. But it should be possible to figure it out through the cli implementation from the latest nRF5 SDK 17.1.0 as well.

    Best regards,

    Edvin

Reply
  • Hello,

    The NFC data that is written to the NFC tag is only stored in RAM. If you want to save it persistently, you can use FDS, as you suggest.

    You can check out how to do that in the fds sample: SDK\examples\peripheral\flash_fds.

    I actually prefer this sample in some of the older SDKs, where there is no CLI. The API should be more or less the same. But it should be possible to figure it out through the cli implementation from the latest nRF5 SDK 17.1.0 as well.

    Best regards,

    Edvin

Children
No Data
Related