This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Where the sent message is stored in "nfc writable ndef msg" example?

Hi guys,

to process the NFC data sent from a smartphone to NRF, I use the "nfc writable ndef msg example".  However, the issue is that I cannot find a variable where the sent data is stored. It is necessary to find this buffer to realize new steps in a program code. 

Can you point me the location where a received text is kept?

Best regards for the whole Nordic association,
Greeting from Columbia! Ocean
B.S. 

Parents Reply
  • Hello!

    In the function "scheduler_ndef_file_update" in the main I use - NRF_LOG_INFO("my buf %u, my size %u", m_ndef_msg_buf, m_ndef_msg_len + NLEN_FIELD_SIZE);

    And I got: "my buf 536873068, my size 14". When I tried to print char as %c then I got random character.

    The result that I am looking for is the string, which I sent from the mobile app. Any suggestion?

    Best regards,
    B.S. Innocent

Children
Related