<?xml version="1.0" encoding="UTF-8"?>

<xwikidoc>
<web>Main.Documentation.Bundles</web>
<name>SimpleReader</name>
<language></language>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<parent>Main.Documentation.ALEonOSGi</parent>
<creator>xwiki:XWiki.gabo_pedraza</creator>
<author>xwiki:XWiki.gabo_pedraza</author>
<contentAuthor>xwiki:XWiki.gabo_pedraza</contentAuthor>
<creationDate>1277464581000</creationDate>
<date>1277464945000</date>
<contentUpdateDate>1277464945000</contentUpdateDate>
<version>1.3</version>
<title></title>
<template></template>
<content>1 Aspire :: OSGi Bundles :: Simple Reader


----
#toc("" "" "true")
----


This section describes the bundle for the simple reader simulator.
1.1 Context

This simulator generates randomly a set of tags. It may be used only for test purposes.

1.1 Build
1.1.1 Sources


*~~trunk/bundles/readers/simple-reader~~*

1.1.1 Instruction


# You must build the abstract-reader project. This project contains base classes used by all HAL adaptors.

&lt;blockquote&gt;
The sources of this project are in ~~trunk/bundles/readers/abstract-reader~~. Use maven to build this project, the instruction is mvn clean install
&lt;/blockquote&gt;

# Finally you must build the simple reader project. The sources are in ~~trunk/bundles/readers/simple-reader~~

&lt;blockquote&gt;
Use maven to build this project, the instruction is mvn clean install
&lt;/blockquote&gt;

1.1 Artifacts


The artifacts to deploy are


* org.ow2.aspirerfid:abstract-reader (Artifact that has the base reader classes)
* org.ow2.aspirerfid:simple-reader (The simple simulator reader driver)

1.1 LRSpec
1.1.1 Configurable properties

{code}
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;ns3:LRSpec xmlns:ns2="urn:epcglobal:ale:wsdl:1" xmlns:ns3="urn:epcglobal:ale:xsd:1"&gt;
	&lt;isComposite&gt;false&lt;/isComposite&gt;
	&lt;readers /&gt;
	&lt;properties&gt;
		&lt;property&gt;
			&lt;name&gt;ReaderType&lt;/name&gt;
			&lt;value&gt;org.ow2.aspirerfid.ale.server.readers.rp.simple.SimpleAdaptor&lt;/value&gt;
		&lt;/property&gt;
		&lt;property&gt;
			&lt;name&gt;Description&lt;/name&gt;
			&lt;value&gt;Simulator Reader &lt;/value&gt;
		&lt;/property&gt;
		&lt;property&gt;
			&lt;name&gt;PhysicalReaderName&lt;/name&gt;
			&lt;value&gt;Simulator&lt;/value&gt;
		&lt;/property&gt;
		&lt;property&gt;
			&lt;name&gt;ReadTimeInterval&lt;/name&gt;
			&lt;value&gt;1500&lt;/value&gt;
		&lt;/property&gt;
	&lt;/properties&gt;
&lt;/ns3:LRSpec&gt;
{code}

1.1 Link


* [Tagsys Medio Reader&gt;http://www.tagsysrfid.com/Products-Services/RFID-Readers/Medio-L100-L200]</content>
<renderedcontent>&lt;h2 class="heading-1"&gt;&lt;span id="HAspire3A3AOSGiBundles3A3ASimpleReader"&gt;Aspire :: OSGi Bundles :: Simple Reader&lt;/span&gt;&lt;/h2&gt;&lt;p class="paragraph"/&gt;
&lt;hr class="line"/&gt;
            &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HContext"&gt;1 Context&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HBuild"&gt;2 Build&lt;/a&gt; 
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HSources"&gt;2.1 Sources&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HInstruction"&gt;2.2 Instruction&lt;/a&gt; 
        &lt;/ul&gt;
          &lt;li&gt;&lt;a href="#HArtifacts"&gt;3 Artifacts&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HLRSpec"&gt;4 LRSpec&lt;/a&gt; 
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HConfigurableproperties"&gt;4.1 Configurable properties&lt;/a&gt; 
        &lt;/ul&gt;
          &lt;li&gt;&lt;a href="#HLink"&gt;5 Link&lt;/a&gt; 
      &lt;/ul&gt; &lt;hr class="line"/&gt;&lt;p class="paragraph"/&gt;
This section describes the bundle for the simple reader simulator.
&lt;h3 class="heading-1-1"&gt;&lt;span id="HContext"&gt;Context&lt;/span&gt;&lt;/h3&gt;&lt;p class="paragraph"/&gt;This simulator generates randomly a set of tags. It may be used only for test purposes.
&lt;h3 class="heading-1-1"&gt;&lt;span id="HBuild"&gt;Build&lt;/span&gt;&lt;/h3&gt; 
&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HSources"&gt;Sources&lt;/span&gt;&lt;/h4&gt;&lt;p class="paragraph"/&gt;
&lt;strong class="strong"&gt;&lt;i class="italic"&gt;trunk/bundles/readers/simple-reader&lt;/i&gt;&lt;/strong&gt;
&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HInstruction"&gt;Instruction&lt;/span&gt;&lt;/h4&gt; 
&lt;ol&gt;&lt;li&gt;You must build the abstract-reader project. This project contains base classes used by all HAL adaptors.&lt;/li&gt;
&lt;/ol&gt;&lt;blockquote&gt;
The sources of this project are in &lt;i class="italic"&gt;trunk/bundles/readers/abstract-reader&lt;/i&gt;. Use maven to build this project, the instruction is mvn clean install
&lt;/blockquote&gt;
&lt;ol&gt;&lt;li&gt;Finally you must build the simple reader project. The sources are in &lt;i class="italic"&gt;trunk/bundles/readers/simple-reader&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;blockquote&gt;
Use maven to build this project, the instruction is mvn clean install
&lt;/blockquote&gt;
&lt;h3 class="heading-1-1"&gt;&lt;span id="HArtifacts"&gt;Artifacts&lt;/span&gt;&lt;/h3&gt;&lt;p class="paragraph"/&gt;
The artifacts to deploy are
&lt;ul class="star"&gt;
&lt;li&gt;org.ow2.aspirerfid:abstract-reader (Artifact that has the base reader classes)&lt;/li&gt;
&lt;li&gt;org.ow2.aspirerfid:simple-reader (The simple simulator reader driver)&lt;/li&gt;
&lt;/ul&gt;&lt;h3 class="heading-1-1"&gt;&lt;span id="HLRSpec"&gt;LRSpec&lt;/span&gt;&lt;/h3&gt; 
&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HConfigurableproperties"&gt;Configurable properties&lt;/span&gt;&lt;/h4&gt;&lt;p class="paragraph"/&gt;&lt;div class="code"&gt;&lt;pre&gt;&amp;#60;?xml version=&lt;span class="java&amp;#45;quote"&gt;"1.0"&lt;/span&gt; encoding=&lt;span class="java&amp;#45;quote"&gt;"UTF&amp;#45;8"&lt;/span&gt; standalone=&lt;span class="java&amp;#45;quote"&gt;"yes"&lt;/span&gt;?&amp;#62;
&amp;#60;ns3:LRSpec xmlns:ns2=&lt;span class="java&amp;#45;quote"&gt;"urn:epcglobal:ale:wsdl:1"&lt;/span&gt; xmlns:ns3=&lt;span class="java&amp;#45;quote"&gt;"urn:epcglobal:ale:xsd:1"&lt;/span&gt;&amp;#62;
	&amp;#60;isComposite&amp;#62;&lt;span class="java&amp;#45;keyword"&gt;false&lt;/span&gt;&amp;#60;/isComposite&amp;#62;
	&amp;#60;readers /&amp;#62;
	&amp;#60;properties&amp;#62;
		&amp;#60;property&amp;#62;
			&amp;#60;name&amp;#62;ReaderType&amp;#60;/name&amp;#62;
			&amp;#60;value&amp;#62;org.ow2.aspirerfid.ale.server.readers.rp.simple.SimpleAdaptor&amp;#60;/value&amp;#62;
		&amp;#60;/property&amp;#62;
		&amp;#60;property&amp;#62;
			&amp;#60;name&amp;#62;Description&amp;#60;/name&amp;#62;
			&amp;#60;value&amp;#62;Simulator Reader &amp;#60;/value&amp;#62;
		&amp;#60;/property&amp;#62;
		&amp;#60;property&amp;#62;
			&amp;#60;name&amp;#62;PhysicalReaderName&amp;#60;/name&amp;#62;
			&amp;#60;value&amp;#62;Simulator&amp;#60;/value&amp;#62;
		&amp;#60;/property&amp;#62;
		&amp;#60;property&amp;#62;
			&amp;#60;name&amp;#62;ReadTimeInterval&amp;#60;/name&amp;#62;
			&amp;#60;value&amp;#62;1500&amp;#60;/value&amp;#62;
		&amp;#60;/property&amp;#62;
	&amp;#60;/properties&amp;#62;
&amp;#60;/ns3:LRSpec&amp;#62;&lt;/pre&gt;&lt;/div&gt;
&lt;h3 class="heading-1-1"&gt;&lt;span id="HLink"&gt;Link&lt;/span&gt;&lt;/h3&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://www.tagsysrfid.com/Products-Services/RFID-Readers/Medio-L100-L200"&gt;&amp;#84;agsys Medio Reader&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
</renderedcontent>
</xwikidoc>