2023-03-28 01:36 PM
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?
Solved! Go to Solution.
2023-03-31 01:01 AM
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,
2023-03-29 02:07 AM
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 :
On iOS NFC Tap :
=> 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,
2023-03-30 04:00 PM
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.
2023-03-30 06:40 PM
Your question has been routed to the online support team. A case has been created and you'll be contacted shortly.
2023-03-31 01:01 AM
2023-03-31 01:27 AM
for the command list of mailbox , I suggest you to have a look into ST25DV datasheet : ref to https://www.st.com/resource/en/datasheet/st25dv04k.pdf
in the iOS NFC Tap, the mailbox commands are accessible directly in ST25SDK iOS :
disableMailbox()
enableMailbox()
isMailboxEnabled()
hasHost......()
hasRF.....()
ReadMailBoxMessage()
WriteMailBoxMessage()
fastReadMailBoxMessage()
fastWriteMailboxMessage()