Difference between revisions of "ThingMagic"
From RifidiWiki
(→Client Tools) |
(→Getting Tags) |
||
Line 55: | Line 55: | ||
<pre><nowiki> | <pre><nowiki> | ||
select id from tag_id set time_out=[milliseconds]; select protocol from tag_id set time_out=[milliseconds]; | select id from tag_id set time_out=[milliseconds]; select protocol from tag_id set time_out=[milliseconds]; | ||
+ | </nowiki></pre><br /> | ||
+ | |||
+ | Tag Centric reads tags in the following manner: | ||
+ | <pre><nowiki> | ||
+ | select id,read_count from tag_id WHERE (protocol_id='EPC0' and protocol_id='EPC1' and protocol_id='GEN2') set time_out=200; | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | From this, one can tell if two conditions conjoined with 'AND' use the same column name it counts as a logical 'OR'. | |
− | + | ||
====Timer==== | ====Timer==== | ||
Revision as of 01:53, 14 February 2008
Contents
Introduction
- Model Number
4
- Network Protocol
SQL like protocol that may be wrapped in ssh, web interface, RCP, and Linux shell login.
- Communication
10/100 BaseT Ethernet – RJ45
- Antennas
4 read points (4 transmit points, 4 receive points)
- General Purpose I/O
(To Do)
Basis of Virtual Reader
The reader accepts SQL style protocol and returns the appropriate information.
Documentation
Client Tools
Telnet, SSH clients, and Tag Centric
Reader Design
This section will give a brief overview of how the hardware reader operates for the purposes of emulation.
Communication
Protocols
The main method for communicating with the reader is via TCP, TCP+SSH on port 8080, web interface, and RCP.
Memory Model
The memory model is like a state based database.
Getting Tags
Getting tags is fairly simple just execute:
telnet [reader ip address] 8080
Then type:
select id from tag_id set time_out=[milliseconds];
Note: the semicolon at the end of each command is necessary.
One can also return multiple items:
select id, protocol_id from tag_id set time_out=[milliseconds];
Also add filters or conditionals:
select id from tag_id where [condition or filter] set time_out=[milliseconds];
In addition more than one statement can be put on more than one line.
select id from tag_id set time_out=[milliseconds]; select protocol from tag_id set time_out=[milliseconds];
Tag Centric reads tags in the following manner:
select id,read_count from tag_id WHERE (protocol_id='EPC0' and protocol_id='EPC1' and protocol_id='GEN2') set time_out=200;
From this, one can tell if two conditions conjoined with 'AND' use the same column name it counts as a logical 'OR'.
Timer
Autonomous Mode
Login
By SSH log in.
Supported Features
[To do.]
Unsupported Features & Bugs
Linux shell access to reader. This is fairly complex and require to emulate the entire hardware infrastructure of the reader and an ARM possessor. Also the web and RCP interface might be developed at a later time.