RFID/NFC readers are contactless devices that can capture the unique ID of a properly configured card/badge/tag/etc. In Intuiface, we refer to these sources of unique IDs as "input tags. These IDs can be used to structure queries for additional information and/or to control displayed content. For example, advancing your experience to a specific scene based on the detected tag ID.
NOTE: The approach described below is currently only available in Player on Windows. For other Player platforms, there may be workarounds. Contact Support for details.
Configuring the reader to send messages to Intuiface
Configure your RFID/NFC reader to send at least two different HTTP GET requests to Player by following the directions for working with local network triggers. The two suggested GET requests would represent:
- Tag detected
- Tag lost
NOTE: Configuration of RFID/NFC readers to automatically call these remote actions will likely require that you write some code for your peripheral's input drivers. This is typically a predefined capability of peripherals and thus shouldn't be too difficult.
As with all local network triggers, the GET requests you create for your RFID/NFC reader will be detected by the Message is received trigger exposed by the Local Network Triggers interface asset located within your running Intuiface experience.
When the Message is received trigger is raised, its parameter values are accessible within Intuiface. The article about local network triggers discusses how to access those parameters. You can use those parameters to, for example, identify the selected tag ID and react to it detection in real-time.
The HTTP GET requests that raise the **Message is received* trigger can be called from any Web Browser. Doing so will test the ability of Player on a given device to receive events from external devices.
We have developed a great RFID-based sample named "Exploring RFID Technology" that you can start exploring here.
Keep in mind, if your NFC reader does not work, please check and reinstall your NFC drivers.