完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
嗨,
我正在使用X-NUCLEO-NFC04A1,我正在尝试编写多种类型的NDEF,但我的手机只能读取最新的NDEF。有什么方法可以写一些NDEF记录吗? 非常感谢你, 最好的祝福, 维战 以上来自于谷歌翻译 以下为原文 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 |
|
相关推荐
4个回答
|
|
你好
如果您通过电话本地阅读,手机只能根据手机实现读取一条记录,如果您有AAR记录,这个记录将由手机管理,如果您有文本记录+网址记录,手机将用网址本地访问浏览器....等等...... 本机只有一条记录 由电话和电话管理。 你可以使用一个应用程序 检查该记录是否写得正确。此应用程序可用 st.com和谷歌播放 https://www.st.com/content/st_com/en/products/embedded-software/st25-nfc-rfid-software/stsw-st25001.html https://play.google.com/store/apps/details?id=com.st.st25nfc 如果您希望能够解析和管理所有写入的记录,则需要一个专用的应用程序来解析记录并对每个记录执行操作。 希望这能澄清你帖子中描述的背景。 干杯 FB。 以上来自于谷歌翻译 以下为原文 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://www.st.com/content/st_com/en/products/embedded-software/st25-nfc-rfid-software/stsw-st25001.html 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. |
|
|
|
谢谢法国,
我下载了软件,它对我帮助很大。我也在编写自己的移动应用程序,可以处理多个NDEF。 还有一个问题,是否有任何关于使用CR95HF(X-Nucleo-NFC3)将多个记录写入ST25TA标签的功能或示例?我尝试了几种方法,但失败了。 非常感谢您的帮助。 最好的祝福, 维战 以上来自于谷歌翻译 以下为原文 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 |
|
|
|
你好Duy Tran,
在NFC3软件包中,没有具体示例显示如何读取和写入多个NDEF记录到标签。 然而,NFC3提供了一个NDEF库(位于中间件中),您可以在其中找到一些smartposter API(在名称中包含SP提及),它管理特定类型的多个记录,它可以帮助您的用例。 可以在lib_NDEF.c文件中找到这些API。 希望这会帮助你。 问候。 以上来自于谷歌翻译 以下为原文 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. |
|
|
|
@Rene Lenerve(ST员工)感谢您的回答,
目前我一直在使用NFC中间件库中的API,但它比我预期的要长,并且还有很多事情要做。我认为应该有更多关于NFC的例子 最好的祝福, 维战 以上来自于谷歌翻译 以下为原文 @Rene Lenerve (ST Employee) 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 |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2725 浏览 1 评论
3237 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3646 浏览 6 评论
6034 浏览 21 评论
1337浏览 4评论
197浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 16:32 , Processed in 1.089941 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号