Aspire :: OSGi Bundles :: ProximaRF Desktop Reader
This section describes the bundle for ProximaRF Desktop reader (ie HALAdaptor)
Context
The ProximaRF Desktop Reader is a ISO 15693 RFID reader.The ProximaRF Desktop Reader bundle packages a HALAdaptor for ProximaRF reader attached to the host (Serial emulated USB port).Building process
- You must build the abstract-reader project. This project contains base classes used by all HAL adaptors.
The sources of this project are in trunk/bundles/readers/abstract-reader. Use maven to build this project, the instruction is mvn clean install
- Finally you must build the proximarf reader project. The sources are in trunk/bundles/readers/proximarf-reader
Use maven to build this project, the instruction is mvn clean installRemark: the reader uses the JNA API to invoke the DLL. You have to install the JNA library (jna-3.2.5.jar ) into your maven local repository. Use the next maven command: mvn install:install-file -DgroupId=com.sun.jna -DartifactId=jna-Dversion=3.2.5 -Dpackaging=jar -Dfile=jna-3.2.5.jar
Deployment
The artifacts to deploy are- org.ow2.aspirerfid:abstract-reader (Artifact that has the base reader classes)
- com.sun.jna:jna (The JNA bundle)
- org.ow2.aspirerfid:tagsys-reader (The proximarf reader driver)
LRSpec
Configurable properties
- SerialPort
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:LRSpec xmlns:ns2="urn:epcglobal:ale:wsdl:1" xmlns:ns3="urn:epcglobal:ale:xsd:1"> <isComposite>false</isComposite> <readers /> <properties> <property> <name>ReaderType</name> <value>org.ow2.aspirerfid.ale.server.readers.rp.proximarf.ProximaRFAdaptor</value> </property> <property> <name>Description</name> <value>This ProximaRF Logical Reader </value> </property> <property> <name>PhysicalReaderName</name> <value>ProximaRF</value> </property> <property> <name>ReadTimeInterval</name> <value>1500</value> </property> <property> <name>SerialPort</name> <value>COM9</value> </property> </properties> </ns3:LRSpec>