Difference between revisions of "Emulator.xml"

From RifidiWiki

Jump to: navigation, search
(maxantennas)
(Reference Implementation)
Line 51: Line 51:
  
 
==Reference Implementation==
 
==Reference Implementation==
This is the maxantennas tag in the alien reader
+
This is the maxgpis tag in the alien reader
 
<pre>
 
<pre>
 
<maxgpis>4</maxgpis>
 
<maxgpis>4</maxgpis>

Revision as of 19:29, 11 February 2008

Emulator.xml is a file that contains the information used to start up a reader. Readers typically have a set of inputs that are required to be able to create it, for example IP addresses, number of antennas, number of GPIs, etc. This file is used to supply that information to the ReaderModule, which handles the creation of a reader.

The information in this file are basically of two types:

  1. Information that is common to all readers in order to start them. These pieces of information have their own tags and should be included in all the reader's emulator.xml file
  2. Information that is specific to the reader. Information of this type will be supplied using a <property> tag

The reader creation wizzard in the UI will automatically add places to collect information according to the <property> tags in the emulator.xml. For example, if an IP address is listed as a property in the emulator.xml, the reader creation wizzard will automatically add a space to collect that information.

readerclassname

This tag is required by all readers. It is path to the ReaderModule.

Sub elements

none

Reference Implementation

This is the readerClassName tag in the alien reader

	<readerclassname>org.rifidi.emulator.reader.alien.module.AlienReaderModule</readerclassname>

description

A short description of the type of the reader. It is required by all readers

Sub elements

none

Reference Implementation

This is the description tag in the alien reader

	<description>Emulator for the Alien 9800</description>

maxantennas

The maximum number of antennas that this reader supports. It is required by all readers

Sub elements

none

Reference Implementation

This is the maxantennas tag in the alien reader

	<maxantennas>4</maxantennas>

maxgpis

The maximum number of GPIs that this reader supports. It is required by all readers

Sub elements

none

Reference Implementation

This is the maxgpis tag in the alien reader

	<maxgpis>4</maxgpis>

maxgpos

The maximum number of gpos that this reader supports. It is required by all readers

Sub elements

none

Reference Implementation

This is the maxgpos tag in the alien reader

	<maxgpos>8</maxgpos>

maxantennas

The maximum number of antennas that this reader supports. It is required by all readers

Sub elements

none

Reference Implementation

This is the maxantennas tag in the alien reader

	<maxantennas>4</maxantennas>
Personal tools