Aspire :: OSGi Bundles :: Tagsys Medio Reader
This section describes the bundle for Tagsys Medio Reader L100 & L200 (ie HALAdaptor)
Context
The Tagsys Medio Reader L100 & L200 is an industrial ISO 15693 RFID reader. The Tagsys Reader bundle packages a HALAdaptor for Tagsys Medio L100 & L200 reader attached to the host (RS232).Building process
- Download the vendor library tagsysmedio. Then, transform this jar into a compliant OSGi bundle (you can use the BND tool).
- Install in the local maven repository the bundle version of the vendor Java library.
mvn install:install-file -DgroupId=com.tagsys -DartifactId=tagsysmedio -Dversion=1.0.0 -Dpackaging=jar -Dfile=tagsysmedio-1.0.0.jar
- Build and deploy the RXTX bundle (RXTX is a native interface to serial ports in java).
The sources of this project are in the svn repository (trunk/bundles/common/rxtx). Use maven to build this project, the instruction is mvn clean install
- You must also build the abstract-reader project. This project contains base classes used by all HAL adaptors.
The sources of this project are in in the svn repository (trunk/bundles/readers/abstract-reader). Use maven to build this project, the instruction is mvn clean install
- Finally you must build the tagsys reader project. The sources are in in the svn repository (trunk/bundles/readers/tagsys-reader)
Use maven to build this project, the instruction is mvn clean install
Deployment
The artifacts to deploy are- org.ow2.aspirerfid:abstract-reader (Artifact that has the base reader classes)
- com.tagsys:tagsysmedio (The reader vendor library)
- org.ow2.aspirerfid:tagsys-reader (The tagsys reader driver)
LRSpec
Configurable properties
<?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.tagsys.TagsysAdaptor</value> </property> <property> <name>Description</name> <value>This Tagsys Logical Reader </value> </property> <property> <name>PhysicalReaderName</name> <value>IntermecIF5</value> </property> <property> <name>ReadTimeInterval</name> <value>1500</value> </property> <!-- specific properties to configure the communication with the TagSys Link --> <!-- Serial link --> <property> <name>tagsys.mediolx00.settings.iMediaType</name> <value>serial</value> </property> <property> <name>tagsys.mediolx00.settings.strSerialName</name> <value>COM1</value> </property> <property> <name>tagsys.mediolx00.settings.iSerialSpeed</name> <value>38400</value> </property> <!-- IP link --> <!-- <property><name>tagsys.mediolx00.settings.iMediaType</name><value>ip</value></property> --> <!-- <property><name>tagsys.mediolx00.settings.strIPAddress</name><value>192.168.1.1</value></property> --> <!-- <property><name>tagsys.mediolx00.settings.iTCPPort</name><value>4001</value></property> --> <!-- (in multiple of 500mW) --> <property> <name>tagsys.mediolx00.settings.iPower</name> <value>1</value> </property> <!-- 0 is off and channels could be 1,2,3,4 --> <property> <name>tagsys.mediolx00.settings.iChannel</name> <value>1</value> </property> <!--values are TAG_C210, TAG_C220, TAG_C240, TAG_C270, TAG_EPC, TAG_ISO15693--> <property> <name>tagsys.mediolx00.settings.strTagType</name> <value>TAG_ISO15693</value> </property> <property> <name>tagsys.mediolx00.settings.boCont</name> <value>true</value> </property> <property> <name>tagsys.mediolx00.settings.boSort</name> <value>false</value> </property> <!-- timer between 2 reads (in millisec) --> <property> <name>tagsys.mediolx00.settings.iTimer</name> <value>250</value> </property> </properties> </ns3:LRSpec>