Edge Server Console

From RifidiWiki

Revision as of 20:05, 15 September 2009 by Kyle (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page lists the various commands that you can use to control and configure the edge server from the OSGi console.

Use

Start up the edge server and wait for it to finish initializing. Once it is done, you will be able to type commands at the prompt. It is also possible to interact with the edge server remotely. To do this, see the information on the console configuration option

Commands

readertypes
List the types of readers adapters that are supported through installed reader plugins
commandtypes
List the types of commands that are supported through installed command plugins
readers
List the available configured readers adapter
commands
List the available configured commands
createreader <readertype> [<prop> <val>]*
Create a configured reader adapter. You must supply a readertype (from the output of the readertypes command). If called with no other arguments, a reader adapter with default properties will be created. You may change default properties, by supplying prop val pairs. The output of this command will give you the ID of the configured reader adapter, which you will need to control the reader later. A few examples:
createreader Alien9800 - Create an Alien9800 reader adapter with default properties.
createreader Alien9800 ip 192.168.1.115 port 23 - Create an Alien9800 with the supplied IP and Port properties.
deletereader <readerID>
Delete a configured reader adapter. You must supply the ID of the reader to delete (The ID was the output of the createreader command).
createcommand <commandtype> [<prop> <val>]*

Create a configured command. You must supply a commandtype (from the output of the commandtypes command). If called with no other arguments, a command with default properties will be created. You may change default properties, by supplying prop val pairs. The output of this command will give you the ID of the configured command, which you will need to control the command later. A few examples:
createcommand Alien9800-GetTagList - Create an Alien9800 command that gets tags with default properties.
createcommand Alien9800-GetTagList tagtype 1 - Create an Alien9800 command that gets only Gen2 tags.

deletecommand <commandID>
Delete a configured command. You must supply the ID of the command to delete (The ID was the output of the createcommand command).
Personal tools