Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

AN4430 Datasheet(PDF) 31 Page - STMicroelectronics

No. de pieza AN4430
Descripción Electrónicos  Designing an NFC Android Application for M24SR and M24LR devices
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4430 Datasheet(HTML) 31 Page - STMicroelectronics

Back Button AN4430 Datasheet HTML 27Page - STMicroelectronics AN4430 Datasheet HTML 28Page - STMicroelectronics AN4430 Datasheet HTML 29Page - STMicroelectronics AN4430 Datasheet HTML 30Page - STMicroelectronics AN4430 Datasheet HTML 31Page - STMicroelectronics AN4430 Datasheet HTML 32Page - STMicroelectronics AN4430 Datasheet HTML 33Page - STMicroelectronics AN4430 Datasheet HTML 34Page - STMicroelectronics AN4430 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 42 page
background image
DocID025722 Rev 1
31/42
AN4430
How to use ST NFC package to implement HW enhanced features
41
At this stage physical tag is supposed to be available in the NFC field. The anti-collision,
RATS, PPS sequences are already done and the Tag is accessible in read or write mode.
To select the TAG and set it in an accessible mode Android Application sends to the tag an
Application To Select command defined in 7816-4 specification. To do so, the Tag rawTag
can be mapped to an IsoDep android object in order to send a synchronous ATS command
to the physical tag. The defined command is sent to the tag by using the
private static NfcTagTypes decodeTagType (Tag pTag) {
  
NfcTagTypes lType = NfcTagTypes.NFC_TAG_TYPE_UNKNOWN; 
  
List<String> lTechList = Arrays.asList(pTag.getTechList()); 
  
String nfcTechPrefixStr = "android.nfc.tech."; 
  
// Try the Ndef technology 
  
Ndef lNdefTag = Ndef.get(pTag); 
  
if (lNdefTag != null) { 
  
 
if (lNdefTag.getType().equals(Ndef.NFC_FORUM_TYPE_1)) { 
  
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_1; 
  
 
else if (lNdefTag.getType().equals(Ndef.NFC_FORUM_TYPE_2)) { 
  
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_2; 
  
 
else if (lNdefTag.getType().equals(Ndef.NFC_FORUM_TYPE_3)) { 
  
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_3; 
  
 
else if (lNdefTag.getType().equals(Ndef.NFC_FORUM_TYPE_4)) { 
  
 
 
if (lTechList.contains(nfcTechPrefixStr+"NfcA")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_4A; 
  
 
 
else if (lTechList.contains(nfcTechPrefixStr+"NfcB")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_4B; 
  
 
 
} 
  
 
} 
  
else { 
  
 
// Try the IsoDep technology 
  
 
IsoDep lIsoDepTag = IsoDep.get(pTag); 
  
 
if (lIsoDepTag != null) { 
  
 
 
if (lTechList.contains(nfcTechPrefixStr+"NfcA")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_4A; 
  
 
 
else if (lTechList.contains(nfcTechPrefixStr+"NfcB")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_4B; 
  
 
 
} 
  
 
else { 
  
 
 
// Try the underlying technologies 
  
 
 
if (lTechList.contains(nfcTechPrefixStr+"NfcA")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_A; 
  
 
 
else if (lTechList.contains(nfcTechPrefixStr+"NfcB")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_B; 
  
 
 
else if (lTechList.contains(nfcTechPrefixStr+"NfcF")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_F; 
  
 
 
else if (lTechList.contains(nfcTechPrefixStr+"NfcV")) { 
  
 
 
 
lType = NfcTagTypes.NFC_TAG_TYPE_V; 
  
 
 
} 
  
 
} 
  
} 
 
  
return lType; 
 
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com