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

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 8 : Ligne 8 :
 
{{ambox|text=libnfc is a constantly moving target, and due to the frequent changes from one version to the next we aren't able to offer libnfc support ourselves for the PN532. We can only guarantee support and working code for the Arduino codebase that we maintain ourselves. The information below is our best attempt at helping you get started with libnfc and the PN532 breakout, but it may require a bit of poking and prodding on your own depending on the library version and platform you are working with. libnfc use is, unfortunately, at your own discretion. }}
 
{{ambox|text=libnfc is a constantly moving target, and due to the frequent changes from one version to the next we aren't able to offer libnfc support ourselves for the PN532. We can only guarantee support and working code for the Arduino codebase that we maintain ourselves. The information below is our best attempt at helping you get started with libnfc and the PN532 breakout, but it may require a bit of poking and prodding on your own depending on the library version and platform you are working with. libnfc use is, unfortunately, at your own discretion. }}
 
}}
 
}}
 +
 +
=== Utiliser le breakout PN532 avec libnfc ===
 +
 +
{{bloc-etroit|text=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.
 +
 +
{{ambox-stop|text= This is only for using the PN532 breakout with an FTDI cable or FTDI Friend to a proper computer. You cannot run LIbNFC on an Arduino or other microcontroller}}
 +
 +
}}
 +
 +
== Libnfc sous Linux ==
 +
Dans cet exemple, nous utilisons Ubuntu 10.10.
 +
 +
=== Etape 1: télécharger libnfc ===
 +
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
 +
  $ tar -xvzf libnfc-x.x.x.tar.gz
 +
  $ cd libnfc-x.x.x</code>
 +
 +
 
https://learn.adafruit.com/adafruit-pn532-rfid-nfc/libnfc
 
https://learn.adafruit.com/adafruit-pn532-rfid-nfc/libnfc
  
 
{{PN532-RFID-NFC-TRAILER}}
 
{{PN532-RFID-NFC-TRAILER}}

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.