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.conf_test<br />

Generate the appropriate ISO-C conformance test commands. Can also be<br />

used to send specific bit stream of data. The parameters supported by this<br />

function are:<br />

command (optional) - The Gen2 conformance command sequence.<br />

data (optional) - The data bits to be sent using ISOC transmission.<br />

num_bits (optional) - The number of bits from the parameter to be sent.<br />

>>> modem.protocol.isoc.conf_test(command=QUERY)<br />

The following command sends bits 101010100b using the ISOC protocol.<br />

>>> modem.protocol.isoc.conf_test(data=0xaa55,<br />

num_bits=9)<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=-,admin=x<br />

command (enum<br />

definitions.enum.protocol.isoc.test_commands)<br />

data (array)<br />

num_bits (int)<br />

antenna (int)<br />

modem.protocol.isoc.read<br />

This function reads specified data from an ISO-C tag in the field. The<br />

parameters supported by this function are:<br />

tag_id (optional) – Indicates the ID of the tag to read. If the tag_id is not<br />

supplied, the first tag found is read. The tag is first singulated and put in<br />

a state for a read operation.<br />

pwd (optional) – Password used to read locked portions of a tag.<br />

mem_bank – Specifies which tag memory bank is to read<br />

(0 = Reserved, 1 = EPC, 2 = TID, 3 = User memory).<br />

word_ptr – Specifies the starting word (16 bit) address in the memory<br />

bank for the read.<br />

word_count – Specifies the number of 16-bit words to read. If the<br />

word_count = 0 the entire memory bank is read.<br />

antenna (optional) – Indicates antenna on which to execute the<br />

function. If an antenna is not specified, all antennas will be tried until<br />

the function succeeds or no more antennas are available.<br />

The following example reads four words at offset 2 from the user memory<br />

section of a tag with ID = 0x30112233445566778899aabb:<br />

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

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

Saved successfully!

Ooh no, something went wrong!