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

This function writes a tag access password. The parameters supported by<br />

this function are:<br />

new_access_pwd - Indicates the access password to be written to a tag.<br />

lock_type (optional) - Indicates lock type to apply to access password.<br />

tag_id (optional) - Indicates the id of the tag to write the access<br />

password. If this parameter is not specified, the first tag found is<br />

written.<br />

pwd (optional) - Indicates the access password required to write a<br />

locked tag (Gen 2 only).<br />

antenna (optional) - Indicates the list of antennas on which the function<br />

executes. If an antenna is not specified, all antennas are tried until the<br />

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

This function includes a verify operation and an ok response indicates the<br />

data written was verified. The response to this function is a response name.<br />

If tag.reporting.report_write_verify=true, then the readback<br />

verify data is reported as part of the response.<br />

The following example writes an access password of 0x1F8DEA90 to the<br />

first tag found on antennas 1 and 3:<br />

>>> tag.write_access_pwd(new_access_pwd = 0x1F8DEA90,<br />

antenna = 1 3)<br />

ok<br />

Type<br />

Permissions<br />

Parameters<br />

Return Values<br />

function<br />

guest=x,admin=x<br />

new_access_pwd (array)<br />

lock_type (enum definitions.enum.tag.lock.types)<br />

tag_id (array)<br />

pwd (array)<br />

antenna (list)<br />

verify_access_pwd(string)<br />

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