2018-08-02 11:02 AM
Hi,
I am using the X-NUCLEO-NFC04A1 and I am trying to write multiple types NDEFs but only the latest one is read by my phone. Is there any way that I can write some NDEF records?
Thank you very much,
Best regards,
Duy
Solved! Go to Solution.
2018-08-22 06:58 AM
Hello
If you read natively from phone, only one record is read by the phone according to phone implementation, if you have an AAR record, this one will be managed by the phone, if you have an text record + an url record, the phone will go natively to the browser with the url .... and so on......
Only one record is natively
managed by the phone and phone dependent.
you can use an application to
check that record are correctly written. This application is available on
st.com and google play
https://play.google.com/store/apps/details?id=com.st.st25nfc
If you want to be able to parse and manage all records written, you need a dedicated application that parse the records and do actions on each of them.
Hope this clarify context described in your post.
Cheers
FB.
2018-08-22 06:58 AM
Hello
If you read natively from phone, only one record is read by the phone according to phone implementation, if you have an AAR record, this one will be managed by the phone, if you have an text record + an url record, the phone will go natively to the browser with the url .... and so on......
Only one record is natively
managed by the phone and phone dependent.
you can use an application to
check that record are correctly written. This application is available on
st.com and google play
https://play.google.com/store/apps/details?id=com.st.st25nfc
If you want to be able to parse and manage all records written, you need a dedicated application that parse the records and do actions on each of them.
Hope this clarify context described in your post.
Cheers
FB.
2018-08-23 10:03 AM
Thank you France,
I downloaded the software and it helps me a lot. I am also writing my own mobile app that can handle multiple NDEFs.
One more question, is there any function or example about using CR95HF (X-Nucleo-NFC3) to write multiple records to a ST25TA tag? I've tried several ways but it failed.
Thank you very much for your help.
Best regards,
Duy
2018-08-28 05:54 AM
Hello Duy Tran,
In the NFC3 Software package, there is no specific example showing how to read and write multiple NDEF records to a tag.
However the NFC3 provides an NDEF library (located in the Middleware) in which you can found some smartposter APIs (containing SP mention in the name) which manage multiple records of specific types, and it could be in help for your use case.
These APIs can be found in the lib_NDEF.c file.
Hope this will help you.
Regards.
2018-09-01 08:59 AM
@Rene Lenerve Thank you for your answer,
Currently I've been working with the APIs in the NFC middlewares library but it takes me longer than I expected and there is still lots of things to do. I think there should be more examples about NFC :(
Best regards,
Duy