Différences entre versions de « PN532-RFID-NFC-LibNFC »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 25 : Ligne 25 :
 
Download the latest version of [http://code.google.com/p/libnfc/downloads/list libnfc from Google Code] (ex. "libnfc-1.4.1.tar.gz") and extract the contents of the file as follows:
 
Download the latest version of [http://code.google.com/p/libnfc/downloads/list libnfc from Google Code] (ex. "libnfc-1.4.1.tar.gz") and extract the contents of the file as follows:
  
  <code> $ wget http://libnfc.googlecode.com/files/libnfc-x.x.x.tar.gz
+
  <code>$ wget http://libnfc.googlecode.com/files/libnfc-x.x.x.tar.gz
  $ tar -xvzf libnfc-x.x.x.tar.gz
+
$ tar -xvzf libnfc-x.x.x.tar.gz
  $ cd libnfc-x.x.x</code>
+
$ cd libnfc-x.x.x</code>
  
  

Version du 7 novembre 2015 à 19:39


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Utiliser LibNFC

Utiliser le breakout PN532 avec libnfc

libnfc is a mature, cross-platform, open-source NFC library that can be easily configured to work with the PN532 Breakout Board. While Linux is probably the easiest platform to use libnfc with, it can be configured for the Mac and Windows as well, though you may need to dig around on the libnfc Community Forums for some specific details on compiling .dlls for Windows, etc.

If you want to test the PN532 Breakout Board out with libnfc, this simple tutorial should walk you through the absolute basics of compiling and configuring libnfc, and using some of the canned example SW included in the library.

Libnfc sous Linux

Dans cet exemple, nous utilisons Ubuntu 10.10.

Etape 1: télécharger libnfc

Download the latest version of libnfc from Google Code (ex. "libnfc-1.4.1.tar.gz") and extract the contents of the file as follows:

$ wget http://libnfc.googlecode.com/files/libnfc-x.x.x.tar.gz

$ tar -xvzf libnfc-x.x.x.tar.gz $ cd libnfc-x.x.x


https://learn.adafruit.com/adafruit-pn532-rfid-nfc/libnfc


Source: PN532 RFID/NFC Breakout and Shield créé par LadyAda pour AdaFruit Industries. Crédit [www.adafruit.com AdaFruit Industries]

Traduit par Meurisse D. pour MCHobby.be

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.