Skip to main content
Visitor II
March 28, 2023
Solved

ST25DV64K - How to access mailbox memory and read 256 bytes of data in mailbox using iOS app?

  • March 28, 2023
  • 2 replies
  • 2094 views

Currently in our app, we are able to read 64 EEPROM memory from ST25DV64k using extendedReadMultipleBlocks command. But we would need to know the procedure to read the Mailbox memory of 256 bytes to get the active data from NFC Mailbox memory. Could you please help with the commands for the same and also if you can show us an iOS example code for the same it will be very helpful?

    This topic has been closed for replies.
    Best answer by victor laraison

    Hi Rjaya,

    The ST25SDK iOS depends on J2OBJC library that converts Java source code into ObjC.

    Here attached a file describing how to install and use it for compiling iOS NFC Tap.

    Let me know if it is enough.

    Br,

    2 replies

    ST Employee
    March 29, 2023

    Hi Rjaya,

    The iOS NFC Tap source code is provided with an example of Data Transfer with Mailbox between iPhone and ST25DV Discovery Board.

    You have to use a ST25DV DiscoveryBoard with the latest FW version available on st.com web site (normally it should be 2.1.0) .

    On Discovery board :

    • Select FTM Icon
    • Select 2nd icon from the bottom left on display (the one looks like a page with pen) => this selects the data transfer demo.
    • Enter a number of byte to transfer. Hit "1" will select 1Kbyte.

    On iOS NFC Tap :

    • Once tag detected, go into "ST25DV Fast Transfer Mode" menu, then select "FTM - Data Transfer"
    • Disable Switch "Write/read Mailbox buffer" => Swipe to the left for enabling reading Mailbox.
    • Then hit "Start" button

    => This demo will use the FTM protocol SW stack included into our ST25SDK library.

    Refer to "ST25DVI2CDataTransferViewController.swift" for example code.

    Hope it helps.

    Br,

    RJaya.2Author
    Visitor II
    March 30, 2023

    Hi Victor,

    We tried using the ST25SDK library from the ST NFC Tap iOS Source Code, but the SDK is not compiling and there are lot of dependent files missing. So, we would like to receive a working ST25SDK library which can be included in our app and can be used for accessing the mailbox memory buffer.

    Also, other thing is we would like to get a list of custom commands (Hex commands) that we can operate with the Mailbox so that we can try sending the custom command directly from our end as well?

    Please check and let us know if this is possible.

    ST Employee
    March 31, 2023

    Hi Rjaya,

    The ST25SDK iOS depends on J2OBJC library that converts Java source code into ObjC.

    Here attached a file describing how to install and use it for compiling iOS NFC Tap.

    Let me know if it is enough.

    Br,

    ST Employee
    March 31, 2023

    Your question has been routed to the online support team. A case has been created and you'll be contacted shortly.