beautypg.com

Rfid sensor application, Architecture of the rfid sensor app, Demo app architecture – ThingMagic Mercury xPRESS Platform v1.7 User Manual

Page 26

background image

RFID Sensor Application

A D I V I S I O N O F T R I M B L E

26

Using the Sample Application

RFID Sensor Application

The RFID Sensor is an application that reads tags in the vicinity of the antenna and
forwards their ID’s and environmental information to the active interface. If the active
interface is the USB port or Bluetooth port, they act as if they are a keyboard connected to
your host device and transfer the tag information just as if you were typing it. If either of
the network interfaces (WiFi or Ethernet) are the active interface, then they will stream
this same data using text-based IP protocols. Instructions for using the USB interface
were given in the

Quick Start Guide

Chapter. Setup, configuration, and operation of the

Optional Bluetooth, WiFi and Ethernet interfaces are explained in the

Using the Optional

Modules

Chapter.

Architecture of the RFID Sensor App

The RFID Sensor App is designed to get a user up and running with a minimum of effort. The
demonstration application simultaneously controls the RFID module, maintains the active data
interface, and formats the data that is sent out that interface.

We call this a “Sensor App” because it aggregates the information collected from the tag with
local information it knows about environmental conditions at the time the tag was read and
(optionally) the GPS location of the reader at the time the tag was read.

A console interface is provided which provides status information while the xPRESS platform is
operating and allows some interaction with the optional modules. Changing of configuration
settings are not supported through the console in this version of the application. Settings are
modified in the source code of the application, which is then re-built and downloaded to the
xPRESS platform.

Demo App Architecture

The Demo App includes off-the-shelf software that provides a framework for it. These

include:



FreeRTOS: Provides tasks and queues



ASF: Provides drivers (except for Bluetooth module)



Mercury API: Provides control for the RFID module

The App itself consists of:



GPI monitor task