12 063
правки
(Новая страница: «== Software == The chip is supported by the library [http://nfc-tools.org/index.php?title=Libnfc libnfc], starting with release 1.7.0. Backport to Debian Wheezy:…») |
(Новая страница: «====C/C++==== Examples of working with libnfc in utilities provided with libnfc: http://code.google.com/p/libnfc/source/browse/#git%2Fexamples») |
||
(не показано 5 промежуточных версий этого же участника) | |||
Строка 9: | Строка 9: | ||
Backport to Debian Wheezy: [https://github.com/contactless/wirenboard/tree/master/contrib/libnfc], by default in a standard way. | Backport to Debian Wheezy: [https://github.com/contactless/wirenboard/tree/master/contrib/libnfc], by default in a standard way. | ||
Work is done in userspace using spidev. By default when using the default dts file using device /dev/spidev1.4. | |||
Default config: [https://github.com/contactless/wirenboard/blob/master/rootfs/configs/etc/nfc/libnfc.conf]. | |||
=== | === Examples === | ||
==== | ====The list of cards in the scope area==== | ||
<pre> | <pre> | ||
root@wirenboard:~# nfc-list | root@wirenboard:~# nfc-list | ||
Строка 29: | Строка 29: | ||
</pre> | </pre> | ||
==== | ====Reading Mifare Ultralight==== | ||
One-time tickets of the Moscow metro -Mifare UL cards. | |||
<pre> | <pre> | ||
root@wirenboard:~# nfc-mfultralight r dump.mfd | root@wirenboard:~# nfc-mfultralight r dump.mfd | ||
Строка 41: | Строка 41: | ||
====Python==== | ====Python==== | ||
To work with NFC from Python, you need to use bindings for libnfc. See example https://github.com/contactless/wirenboard/tree/master/examples/nfc/python on github. | |||
====C/C++==== | ====C/C++==== | ||
Examples of working with libnfc in utilities provided with libnfc: http://code.google.com/p/libnfc/source/browse/#git%2Fexamples |
правки