전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN4430 데이터시트(PDF) 31 Page - STMicroelectronics

부품명 AN4430
상세설명  Designing an NFC Android Application for M24SR and M24LR devices
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4430 데이터시트(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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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