[android-developers] Re: NFC Secure Element

2011-09-29 Thread Fernando Miguélez Palomo
I polished the patches so now you have some options from Settings application: Card Emulation Only Mode. This disables reader function. Card emulation mode is always enabled. Be careful because P2P mode may not work (not tested) Use External Secure Element if Available. This makes the phone to

[android-developers] Re: NFC Secure Element

2011-09-29 Thread Fernando Miguélez Palomo
For the time being I can not share the ROM but you can compile it yourself with the supplied patches. Take a look at the last ones: https://groups.google.com/d/msg/android-developers/1fw1qfFqpGc/pvhc11jVDEUJ -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: NFC Secure Element

2011-07-27 Thread Fernando Miguélez Palomo
Hi Michael, Correct, for the SE connected through NFC-WI/S2C, the NFC controller has three modes: off, wired and virtual mode. Off means that there is no communication with the secure element. Wired mode means that the secure element is visible to the application processor as if it was a

Re: [android-developers] Re: NFC Secure Element

2011-07-21 Thread Fernando Miguélez Palomo
Hi Michael, As far as I understand sending APDUs to the SmartMX SE element is possible because the NFC Controller (PN544) is told to enable the NFC-WI interface with SE. This is carried out by calling *phHal4Nfc_Switch_SMX_Mode()*, with parameter *eSmartMx_Wired *(function

[android-developers] Re: NFC Secure Element

2011-07-19 Thread Fernando Miguélez Palomo
I got it working on 2.3.4_r1!!! The key was enabling discoverability but in card emulation mode. The strange thing is now I can detect two smart card types with an Arcontia smart card reader: - ISO14443A tag CL1 tag (This is the Mifare 4K) - FELICA RCS-885 424kbs tag (I suppose this is

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
Hi Nemik, I just applied your patches to 2.3.4_r1 version (I had to change them a little bit) but card emulation does not seem to work (an external reader detects nothing). Could you please tell us what tag of AOSP gingerbread did you use? Thanks -- You received this message because you are

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
Yes I know. I revised them manually and adapted to 2.3.4_r1. However I must be missing something. I see the Secure Element SMX selected, the embedded Mifare card is not detected by means of external readers. The external reader detects a memory card but it can not read the CSN (UID). It seems

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
For convenience I post the filtered NFC related I can see after initialization. As I said the card is detected on reader but only after phone restarts (however it can not read any UID). If I approach it latter it is not recognized. 07-18 17:01:54.800: DEBUG/NFC JNI(283): NFC Service : loading

Re: [android-developers] Re: NFC Secure Element

2011-07-14 Thread Fernando Miguélez Palomo
Have somebody activate the Card Emulation with UICC? Yes. I tryed it, with SmartMX SE it was no problem Card Emulation was running. When I tried the ID of my UICC in the Method doSelectSecureElement from NFC Service, then the Card Emulation was not running, Reader dont detect a

[android-developers] Re: Problem getting Bluetooth RSSI (Signal Strength)

2010-02-10 Thread Fernando Miguélez Palomo
It may not work because EXTRA_RSSI value is a short type instead of int. This works great for me: short rssi = intent.getShortExtra(BluetoothDevice.EXTRA_RSSI, Short.MIN_VALUE); Take into consideration that rssi values are usually negative (it could be dBm but I am not sure). On 28 ene, 20:47,