Thanks Nemik for posting the patch, I was trying to get the emulation working without much luck so far, I see you have flipped some additional flags than what I had, so I'll trying those. Btw I was able to set the SE to wired mode by calling phLibNfc_SE_SetMode(seID,phLibNfc_SE_ActModeWired, nfc_jni_se_set_mode_callback,(void *)nat); so now the SE gets detected as a local tag and I can open a tag connection to same - I tried a few APDUs, but getting error codes 6a 82 (not found), 69 85 etc back.. I'll post if I'm able to make any progress.
On Jan 20, 2:01 pm, nemik <[email protected]> wrote: > Sorry for not replying in a while, been very busy with projects at > work. > > I posted my diff's to enable the Nexus S to emulate an NFC tag. The > links are > below:http://nemik.net/code/android-nfc/Nfc-app.diffforhttp://android.git.kernel.org/?p=platform/packages/apps/Nfc.git;a=sum... > andhttp://nemik.net/code/android-nfc/libnfc-nxp.diffforhttp://android.git.kernel.org/?p=platform/external/libnfc-nxp.git;a=s... > > These are just based on the on the open source, plain vanilla Android > Gingerbread codebase. If you patch it with the diffs above, you can > build the OS, upload the images to the phone's bootloader (make sure > to unlock the bootloader first) and then see it for yourself. > > It is pretty badly broken and this is just to prove that it can kinda > work, I hacked it up pretty hard. > > Also, I added a lot of LOGD()'s in the NFC app's JNI so I could see > what was going on when trying things out on the phone so I could read > it when doing an 'adb logcat' on the computer with the phone attached > over USB. > > Have fun! > > On Jan 17, 9:11 pm, Ajith Kamath <[email protected]> wrote: > > > > > I still dont have nexus s but there is a high probability that its Embedded > > > Yes Keys are private and most likely needs to be provided by Service > > Provider. The same thing has been mentioned in nokia forum > > But I am not sure how this will be done for nexus S.(may be there are ties > > with Service Provider) > > > If anyone can explain OTA agent and its communication with TSM, it would be > > very helpful. Since this too is not clear (w.r.t android) > > > Regards, > > Ajith > > > On Tue, Jan 18, 2011 at 5:41 AM, Dominik <[email protected]> wrote: > > > According to the NXP documentation of PN544, three SE variants are > > > supported: > > > - SIM Card (via UICC) > > > - Embedded (SmartMX security chip) > > > - SD Card > > > > Do you know which version is intended to be used by the Nexus S > > > device? > > > > The above messages describe attempts to enable SmartMX. As soon as > > > access to this SE is possible: > > > Which keys do you use to access the SE? Such keys should be private > > > and not generally be known. > > > > I am at a loss. > > > > - Dominik -- 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

