开发者

Reading Nexus s Ndef Message on my desktop using ACR122

开发者 https://www.devze.com 2023-02-22 13:32 出处:网络
I 开发者_开发技巧have developed an Android activity that pushes NDEF message like in android sample document

I 开发者_开发技巧have developed an Android activity that pushes NDEF message like in android sample document

On my Desktop I have ACR122 reader connected to it which I was able to read/write regular NFC tags using its SDK, but I cant get to read the mobile NDEF message, how can I read it?


The NDEF message is pushed using the peer-to-peer (p2p) mode of NFC. On top of P2P, the LLCP (Logical Link Control Protocol) is used, and on top of that Google has implemented the NDEF push protocol. The latter you can find here.

I think the the ACR122 supports at least P2P. But I'm not sure whether it supports LLCP; if it does, then you will still need to implement a client for Google's NDEF push protocol on top of that to get things working.


The ACR122 is okay for R/W mode, but SDK does not support LLCP based P2P. You have to use the open-source solutions like nfclib or ismb.

Regards, Petr

0

精彩评论

暂无评论...
验证码 换一张
取 消