Electronic Components Datasheet Search
  English  ▼

X  

AN4430 Datasheet(PDF) 39 Page - STMicroelectronics

Part # AN4430
Description  Designing an NFC Android Application for M24SR and M24LR devices
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4430 Datasheet(HTML) 39 Page - STMicroelectronics

Back Button AN4430 Datasheet HTML 34Page - STMicroelectronics AN4430 Datasheet HTML 35Page - STMicroelectronics AN4430 Datasheet HTML 36Page - STMicroelectronics AN4430 Datasheet HTML 37Page - STMicroelectronics AN4430 Datasheet HTML 38Page - STMicroelectronics AN4430 Datasheet HTML 39Page - STMicroelectronics AN4430 Datasheet HTML 40Page - STMicroelectronics AN4430 Datasheet HTML 41Page - STMicroelectronics AN4430 Datasheet HTML 42Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 39 / 42 page
background image
DocID025722 Rev 1
39/42
AN4430
How to use ST NFC package to implement HW enhanced features
41
Read Example
//***********************************************************************/ 
//* the function send an ReadSingle command (0x0A 0x20) || (0x02 0x20)  
//* example : StartAddress {0x00, 0x02}  NbOfBlockToRead : {0x04} 
//* the function will return 04 blocks read from address 0002 
//* According to the ISO‐15693 maximum block read is 32 for the same sector 
//***********************************************************************/ 
 
  public static byte[] SendReadSingleBlockCommand (Tag myTag, byte[] StartAddress,  
DataDevice ma) 
  { 
  
 byte[] response = new byte[] {(byte) 0x0A};  
  
 byte[] ReadSingleBlockFrame; 
  
  
 
  
 ReadSingleBlockFrame = new byte[]{(byte) 0x02, (byte) 0x20, 
StartAddress[1]}; 
 
  
 int errorOccured = 1; 
  
 while(errorOccured != 0) 
  
 { 
  
 
 try 
  
 
 { 
  
 
 
 NfcV nfcvTag = NfcV.get(myTag); 
  
 
 
 nfcvTag.close(); 
  
 
 
 nfcvTag.connect(); 
  
 
 
 response = nfcvTag.transceive(ReadSingleBlockFrame); 
  
 
 
 if(response[0] == (byte) 0x00 || response[0] == (byte) 0x01) 
  
 
 
 
 errorOccured = 0; 
  
 
 } 
  
 
 catch(Exception e) 
  
 
 { 
  
 
 
 … 
  
 
 } 
  
 } 
  
 return response; 
  }



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 Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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