Hallo, > When sharing a virtual tag using the enableForegroundNdefPush of an > NfcAdapter instance object, i try to read the so-shared ndef message > with my desktop reader (ID ISC CPR 40.30 USB). > > Well, it won't work.
Correct. Foreground NDEF push & Android Beam don't use "tags" to exchange data. What you call "virtual tag" is actually data exchange between two NFC devices over a peer-to-peer connection. On top of that P2P connection, the LLCP (NFC Logical Link Control Protocol, standardized by NFC Forum) is used and on top of this either Android's NPP (NDEF Push Protocol) or SNEP (Simple NDEF Exchange Protocol, standardized by NFC Forum) are used. > As I got by debugging, my reader works in addressed mode. > That is, I first run the inventory procedure, and get the Serial > (something like FE7CE608) Correct. The anti-collision procedure of NFC is compatible to ISO 14443 proximity card protocol (for 106kbps) and JIS X 6319-4 FeliCa protocol (for 212kbps and 424kbps). Thus, ISO 14443 anti-collision will enumerate a "card" UID for the NFC device. Btw, the 0x08 gives you a hint that the UID is randomly generated for each session (which is mandated by NFC). > and then, in addressed mode, i can read data > blocks from a tag by addressing it with it serial number. No, you can't. Your "virtual tag" is not a memory card. Instead you need to speak NFC-DEP + LLCP + SNEP/NPP with it. > I'd like to do the same with my android phone, but discovered that my > android phone's serial number changes at every inventory!! See above. > Is there a way to make it fixed ?? This wouldn't help as the NFC device doesn't respond to memory access commands. > p.s: some one else out there is using Feig ID CPR40.30 USB ? I'm not sure if this reader is NFC-compatible. br, Michael -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

