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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4 - Reader Behavior<br />

In the following example, the tag ID and access password are written using<br />

individual commands. The data is then read back and written again using a<br />

single write command.<br />

><br />

tag.write_id(new_tag_id=0x112233445566778899ABCDEF)<br />

ok<br />

> tag.write_access_pwd(new_access_pwd=0x99887766)<br />

ok<br />

> tag.read(report=new_access_pwd tag_id)<br />

ok tag_id=0x112233445566778899ABCDEF,<br />

access_pwd=0x99887766<br />

> tag.write(new_tag_id=0xAABBDDCCEEFF001122334455,<br />

access_pwd=0x12345678)<br />

ok<br />

> tag.read(report=access_pwd tag_id)<br />

ok tag_id=0xAABBDDCCEEFF001122334455,<br />

access_pwd=0x12345678<br />

Kill Tags<br />

To kill (permanently quiet) a tag, use the tag.kill() function. This<br />

function uses the following parameters:<br />

• tag_id - Optional parameter specifying the tag id or EPC to kill.<br />

• kill_pwd – Kill password.<br />

• antenna - Optional parameter specifying which antenna(s) to use<br />

for the command. If antenna is not specified, all currently enabled<br />

antennas are used.<br />

The following example kills a tag with kill password 0xaabbccdd. The EPC<br />

is not specified because only one tag is visible.<br />

> tag.kill(kill_pwd=0xaabbccdd)<br />

ok<br />

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

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

Saved successfully!

Ooh no, something went wrong!