android - Host-based Card Emulation, any guidance please? -


i'm new field, got nexus s ( cyanogenmod11 = android kitkat 4.4.2) , need use hce (host-based card emulation) mode in order emulate contactless card.

any guidance on steps , tips need follow in order accomplish this? ( - need program simulated secure element? put on cloud? )

p.s: have use new reader mode also, because app going read android nfc-enabled phone , not nfc reader.

thank you.

before cyanogenmod 11, cyanogenmod supported own host-based card emulation functionality. register foreground dispatch android.nfc.tech.isopcda technology , emulate smartcard using isopcda.transceive() method. see nikolay elenkov's blog post on how use api.

however, browsing through cyanogenmod 11 source (specifically tht of nfc service) seems functionality has been dropped in version 11 in favor of android 4.4's official hce api.

the official android 4.4 hce api permits apps emulate contactless smartcard (iso 14443-4 + iso 7816-4 apdus) in android service. service handle incoming command apdus application , generate proper response apdus. see official api user guide further information on how register such hce service , this answer on how handle incoming command apdus within hce service.

unfortunately api not available either on devices use libnfc-nxp low-level nfc stack (see empty implementation of routeaid() , enableroutingtohost() in cyanogenmod 11 source code).

so summarize this, seems if it's not possible host-based card emulation on nexus s cm 11.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -