SmartTool Demo Applications
Along with the libraries github repository contains several ready to run demo applications which are described in detail in the reference manual. below you can find a brief description of each app.Embedded Demo Applications
Authentication ( git )
Demonstrates the usage of Desfire cards to perform authentication in access control applications. Desfire cards are written with an encrypted application that contains a DWORD which is meant to hold an authorization bitfield. the application can write "authorized" and "unauthorized" cards or it can read back the card and, if an authorized bitfield is detected it will toggle the on board MOSFET.Note that usage of UID for authentication is not recommended as UIDs can be eventually spoofed. note also that since Mifare Classic cards have been hacked it's highly recommended to use the more recent cards which implement 3DES or AES.
NDEF I/O ( git )
This application demoes card reader and card emulation functionality. The NFC task periodically toggles between card reader and card emulation. In card reader mode the application reads the NDEF message from the card and displays its content on the LCD. the content being displayed is not very useful as it is not parsed however it can serve as the base for applications needing to read cards. supported card types are Mifare UL, Mifare Classic and Mifare Desfire.In card emulation mode SmartTool presents itself as a card with a NDEF message containing the arrow web site url. if interacting with the Android demo application SmartTool can also receive a message back and display it on the screen.
Vending ( git )
Implements a simple vending machine which can either charge credit to a card or let user select goods and purchase them. Note that in order to provide reasonable security this application supports only Desfire cards.
Android Demo Applications
NFCDemo ( git )
Very simple Android application allowing to read NFC messages from SmartTool in card reader mode and eventually write back a response message. useful to demonstrate bidirectional communication with smartphones.