Windows Phone 8 - NFC - 二进制通信(非NDEF) [英] Windows Phone 8 - NFC - binary communication ( not NDEF )

查看:96
本文介绍了Windows Phone 8 - NFC - 二进制通信(非NDEF)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。


我们正在从android移植应用程序,它具有"说话"功能。使用智能卡通过NFC使用APDU命令,使用此API:http://developer.android.com/reference/android/nfc/tech/IsoDep.html


WP8上是否有办法做同样的事情?


我们尝试使用ProximityDevice.PublishBinaryMessage,但是根据文档和我们的测试我们所能做的就是发送NDEF格式的数据,这在这种情况下不起作用。如果不可能有任何谣言/计划将来这样的API会被加到WP8中吗?

解决方案

你好,


过去两周我一直在尝试做同样的事情,似乎也遭受了同样的挫折。我只是无法通过Proximity API的Subscribe方法从智能卡获取任何消息 - 似乎如果它们不是NDEF格式,
它只是忽略它们并且不通知应用程序。


我正在研究使用C ++更原生地访问NFC阅读器。我希望我能开始抓住卡和手机之间的对话。但我不相信微软提供了一个API来做到这一点。如果Proximity API全部是我们b $ b,那么看起来我们已经上了一条小溪!


您是否设法找到解决方案?


Hello.

We are porting application from android, which has a feature of "talking" with smartcards using APDU commands via NFC, using this API: http://developer.android.com/reference/android/nfc/tech/IsoDep.html

Is there a way on WP8 to do the same ?

We tried playing with ProximityDevice.PublishBinaryMessage however accoring to documentation and our tests all we can do is send NDEF-formatted data, which does not work in this scenario. If its not possible are there any rumors/plans that such API would be added to WP8 in future ?

解决方案

Hi,

I've been trying to do the same thing for the last 2 weeks and appear to have been suffering the same frustrations. I just cannot get any messages from the smartcard via the Subscribe method of the Proximity API - it seems that if they're not in NDEF format, it just ignores them and doesn't notify the application.

I'm looking into using C++ to access the NFC reader more natively. My hope is that I can start to catch the conversations between the card and the phone. But i'm not convinced that Microsoft have provided an API to do this. If the Proximity API is all we have it would appear that we're up a creek!

Did you manage to find a solution?


这篇关于Windows Phone 8 - NFC - 二进制通信(非NDEF)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆