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 15 - Modem Namespace<br />

modem.protocol.isoc.alien.block_read_lock<br />

Perform Alien custom command, BlockReadLock. This command will<br />

lock/unlock user memory blocks for reading on some Alien silicon based<br />

tags. A block is 4 contiguous words in user memory. Block 0 is words 0-3,<br />

Block 1 is words 4-7, etc. The read_lock parameter is a bit map with the<br />

following definition:<br />

MSB<br />

LSB<br />

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0<br />

0 1 2 3 4 5 6 7 Block affected<br />

If the bit = 1, then the block is locked.<br />

If the bit = 0, then the block is unlocked.<br />

This command is only successful when the tag is in the secured state.<br />

The following example locks Block 0, which is the first 4 words of user<br />

memory, and unlocks all other Blocks.<br />

>>> modem.protocol.isoc.alien.block_read_lock<br />

(pwd=12345678, read_lock=0x80)<br />

ok<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=x,admin=x<br />

tag_id (array)<br />

pwd (array)<br />

antenna (int)<br />

read_lock (int)<br />

modem.protocol.isoc.control.cmd_retries<br />

This variable sets the number of command retries for failed command.<br />

When a command sequence fails, it can be retried for the number of times<br />

indicated by this parameter. This is transparent to the user.<br />

Type<br />

var<br />

Permissions<br />

Data Type<br />

int<br />

Default 3<br />

Min 0<br />

Max 8<br />

guest=-,admin=rw<br />

182 <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!