NFC or RFID on Android topic
I have a Nexus5 with NFC reader and I tring to comunicate with RFID tags ISO14443B and ISO14443A, these tags don't respect ISO at 100% for example for ISO14443B not reply to REQB command so android don't detect it.
I tried to comunicate with tags directly with this code:
but transceive give an error because android monitoring constantly the presence of tag. I tried to receive data with Proxmark3.
I'd like to patch android for implement also not standard protocols, but I don't understand where in source code this comunication is done. Where REQB or REQA are generated?
Someone can help me to find it?
Thank you
I tried to comunicate with tags directly with this code:
Code:
Bundle extras = new Bundle();
try {
Class cls = Class.forName("android.nfc.Tag");
Constructor c[] = cls.getConstructors();
Method tags = cls.getMethod("getTagService");
Object tagService = tags.invoke(tag);
Tag t = (Tag)c[0].newInstance(new byte[]{0x00},new int[] { 2 },new Bundle[] { extras },1,tagService);
Method setConnectedTechnology = cls.getMethod("setConnectedTechnology",new Class[]{int.class});
setConnectedTechnology.invoke(tag,2);
NfcB b = NfcB.get(t);
b.connect();
byte a[] = b.transceive(new byte[]{0x02,0x01,0x01,0x04});
}catch(Exception e){ }
I'd like to patch android for implement also not standard protocols, but I don't understand where in source code this comunication is done. Where REQB or REQA are generated?
Someone can help me to find it?
Thank you
xda-developers
- How to roll back to KK topic
- What is this in Greenify settings topic
- [Q] How to update? topic
- NFC or RFID on Android topic
- Is root required to roll back to KitKat? topic
- [REQ] Multi DPI Stock Camera topic
- May be this is it for Xperia J topic
- [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
- [Q] New to phone - on 24A rooted - where to go from here? topic
- Htc desire 816 official lollipop update video review topic
- [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
0 commentaires:
Enregistrer un commentaire