Modifications

Sauter à la navigation Sauter à la recherche
394 octets ajoutés ,  22 novembre 2015 à 12:48
aucun résumé de modification
Ligne 3 : Ligne 3 :  
{{traduction}}
 
{{traduction}}
 
== Puis-je avoir plusieurs shield sur un Arduino? ==
 
== Puis-je avoir plusieurs shield sur un Arduino? ==
{{bloc-etroit|text=Nope, the I2C library can have only one address per bus and the address is not adjustable! So one shield per Arduino please!}}
+
{{bloc-etroit|text=Non, la bibliothèque I2C peut uniquement utiliser une adresse par bus I2C et cette adresse n'est pas adjustable! Par conséquent, seul un shield NFC peut être utilisé par Arduino!}}
   −
== Can I read or write to Mifare tags with the PN532 and Adafruit Libraries? ==
+
== Puis-je lire et écrire des tags Mifare avec le PN532 et la bibliothèque Adafruit? ==
{{bloc-etroit|text=Absolutely! The Adafruit libraries include functions to authenticate, read and write individual blocks to Mifare Classic cards. Before you can read or write a block you need to authenticate it with the appropriate key, and once the block is authenticated you can read and write to your hearts content)!
+
{{bloc-etroit|text=Absolument! La bibliothèque Adafruit inclus les fonctions d'authentification (authenticate), lecture et écriture de bloc individuel sur les cartes Mifare Classic.  
   −
For example, the key functions in the [https://github.com/adafruit/Adafruit_NFCShield_I2C I2C library] (which was written to go along with the [http://www.adafruit.com/products/789 NFC shield] since it defaults to I2C) are:
+
Il faut s'authentifier avec la clé appropriée avant de lire ou écrire un block, et une fois authentifié auprès d'un bloc, vous pouvez lire et écrire le contenu)!
 +
 
 +
Par exemple, les fonctions clés dans la [https://github.com/adafruit/Adafruit_NFCShield_I2C bibliothèque I2C d'Adafruit] (bibliothèque développée pour le {{pl|101|shield NFC d'Adafruit}} puisqu'il fonctionne en I2C par défaut) sont:
    
  <nowiki>uint8_t mifareclassic_AuthenticateBlock (uint8_t * uid, uint8_t uidLen,
 
  <nowiki>uint8_t mifareclassic_AuthenticateBlock (uint8_t * uid, uint8_t uidLen,
Ligne 16 : Ligne 18 :  
uint8_t mifareclassic_WriteDataBlock (uint8_t blockNumber, uint8_t * data);</nowiki>
 
uint8_t mifareclassic_WriteDataBlock (uint8_t blockNumber, uint8_t * data);</nowiki>
   −
This is all you need to start reading and writing data, and you can verify the data using one of many Android applications that support working with Mifare cards (a search for NFC will turn up plenty).  
+
C'est tout ce dont vous avez besoin pour commencer à lire et écrire vos données... et vous pouvez vérifier vos données en utilisant l'une des nombreuses applications Android qui sont capable de fonctionner avec les cartes Mifare ('''une recherche sur "nfc" vous proposera plein d'application''').  
 
}}
 
}}
   −
== What level of NDEF support is included in the libraries? ==
+
== Quel est le niveau de support NDEF est inclus dans la bibliothèque? ==
At the moment, all [http://learn.adafruit.com/adafruit-pn532-rfid-nfc/ndef NDEF]] features are experimental and incomplete. Only very basic test code has been written to format a card for NDEF messages in a way that any NFC-enabled Android phone should be able to understand it, and it was written and an extremely simple proof of concept.
+
Pour l'instant, toutes les fonctionnalités [http://learn.adafruit.com/adafruit-pn532-rfid-nfc/ndef NDEF]] restent incomplètes et expérimental. Seul un code de test de base à été écrit pour formater une carte destinée à recevoir des messages NDEF de sorte que de nombreux téléphone Android supportant NFC soient capable de les interpréter. Ce programme de formatage est une façon simple mais très efficace pour réaliser une démonstration de faisabilité (''proof of concept'.
 +
 
 +
{{traduction}}
    
We would like to improve NDEF support for Mifare tags in the near future and some initial planning has gone into this, but at the moment our suggestion is to stick to plain text and 'vanilla' [http://learn.adafruit.com/adafruit-pn532-rfid-nfc/mifare Mifare Classic] reads and writes. You can read and write Mifare Classic and Mifare Ultralight blocks from Android, and you don't need to used the more complicated NDEF standard to simply pass data back and forth via a Mifare Classic or Ultralight card.
 
We would like to improve NDEF support for Mifare tags in the near future and some initial planning has gone into this, but at the moment our suggestion is to stick to plain text and 'vanilla' [http://learn.adafruit.com/adafruit-pn532-rfid-nfc/mifare Mifare Classic] reads and writes. You can read and write Mifare Classic and Mifare Ultralight blocks from Android, and you don't need to used the more complicated NDEF standard to simply pass data back and forth via a Mifare Classic or Ultralight card.
29 917

modifications

Menu de navigation