NFC/en: различия между версиями

Новая страница: «====C/C++==== Examples of working with libnfc in utilities provided with libnfc: http://code.google.com/p/libnfc/source/browse/#git%2Fexamples»
(Новая страница: «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/wi…»)
(Новая страница: «====C/C++==== Examples of working with libnfc in utilities provided with libnfc: http://code.google.com/p/libnfc/source/browse/#git%2Fexamples»)
 
(не показаны 4 промежуточные версии этого же участника)
Строка 14: Строка 14:




===Примеры===
=== Examples ===


====Список карточек в области видимости====
====The list of cards in the scope area====
<pre>
<pre>
root@wirenboard:~# nfc-list  
root@wirenboard:~# nfc-list  
Строка 29: Строка 29:
</pre>
</pre>


====Чтение Mifare Ultralight====
====Reading Mifare Ultralight====
Одноразовые билеты московского метро - карточки Mifare UL.
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====
Для работы с NFC из Python необходимо использовать биндинги для libnfc. См. пример https://github.com/contactless/wirenboard/tree/master/examples/nfc/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++====
Примеры работы с libnfc в утилитах, поставляемых с libnfc: http://code.google.com/p/libnfc/source/browse/#git%2Fexamples
Examples of working with libnfc in utilities provided with libnfc: http://code.google.com/p/libnfc/source/browse/#git%2Fexamples
12 063

правки