06.01.2015 Views

INfinity 510 Protocol Reference Guide - Sirit

INfinity 510 Protocol Reference Guide - Sirit

INfinity 510 Protocol Reference Guide - Sirit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 12 - Tag Namespace<br />

tag.db.get_and_purge<br />

This function returns all the tags stored in the database and then purges<br />

the database. Various fields can be reported for each tag and are defined<br />

with the configuration variable tag.reporting.taglist_fields.<br />

The following example returns and purges all tags from the tag database.<br />

>>> tag.db.get_and_purge()<br />

ok<br />

(tag_id=0x306800095EFDDF8000000002)<br />

(tag_id=0x306800095EFDDF80000040A1)<br />

(tag_id=0x306800095EFDDF80003F7421)<br />

(tag_id=0x306800095EFDDF80000987A5)<br />

Type<br />

Permissions<br />

Return Values<br />

function<br />

guest=x,admin=x<br />

tag_id(string)<br />

user_data(string)<br />

tid(string)<br />

first(string)<br />

last(string)<br />

antenna(int)<br />

repeat(int)<br />

type(string)<br />

tag.db.max_count<br />

This variable is the maximum number of unique tags stored in tag<br />

database.<br />

The following example sets the reader’s tag database to hold 2000 unique<br />

tags:<br />

>>> tag.db.max_count = 2000<br />

ok<br />

Type<br />

Permissions<br />

Data Type<br />

var<br />

guest=r,admin=rw<br />

int<br />

Default 10000<br />

Min 100<br />

Max 10000<br />

128 <strong>INfinity</strong> <strong>510</strong> <strong>Protocol</strong> <strong>Reference</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!