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

modem.protocol.isoc.filtering.truncated_epc_response<br />

This variable turns on ISO-C truncation. When truncation is true and filtering<br />

is enabled, the mask filter is used and tags that match the mask will<br />

truncate their EPC response to the bits that follow the mask. The mask<br />

must end in the EPC memory or truncation will not be enabled.<br />

For truncation to work, the filter mask must start at offset 16 in EPC<br />

memory, which is the start of the <strong>Protocol</strong>-control (PC) bits. The most<br />

significant 5 bits of the PC indicate the length of the tags EPC in 16-bit<br />

words, plus the 1 word of PC bits. Only 1 filter mask can be used with<br />

truncation.<br />

The following example sets up a filter and uses truncation to find 96-bit EPC<br />

tags with tag_id=301020304050xxxxxxxxxxxx, where x is don't care. The<br />

length is 64 bits where: 64 bits = 16 (PC bits) + 48 bits (EPC bits in mask).<br />

The offset is the offset to PC bits in EPC memory). The filter mask is<br />

3000301020304050 where the first 16 bits are the PC bits from EPC<br />

memory).<br />

>>> modem.protocol.isoc.filter.1.length=64<br />

>>> modem.protocol.isoc.filter.1.offset=16<br />

>>> modem.protocol.isoc.filter.1.mask=3000301020304050<br />

>>> modem.protocol.isoc.filter.1.action=assert_deassert<br />

>>> modem.protocol.isoc.filter.1.enabled=1<br />

>>> modem.protocol.isoc.filtering.truncated_epc_response=1<br />

>>> modem.protocol.isoc.filtering.enabled=1<br />

Type<br />

Permissions<br />

Data Type<br />

Default<br />

var<br />

guest=-,admin=rw<br />

bool<br />

False<br />

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