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 7 - Reader Namespace<br />

reader.set_pwd<br />

This function changes the reader password to the password specified in the<br />

function parameter. The old and new password must be specified. The<br />

password can have a maximum length of 64 characters. Any printable<br />

alphanumeric character is allowed in the password, except for the following:<br />

( open parenthesis, ) close parenthesis, comma, " double quote, or ' single<br />

quote.<br />

The following example shows an administrator password change from<br />

1Hjg7df45 to Tat1001:<br />

>>> reader.set_pwd (login = admin, pwd = 1Hjg7df45,<br />

new_pwd = Tat1001)<br />

ok<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=x,admin=x<br />

login (string)<br />

pwd (string)<br />

new_pwd (string)<br />

reader.start_service<br />

This function starts a system service.<br />

The following example starts the discovery service:<br />

>>> reader.start_service(discovery)<br />

ok<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=-,admin=x<br />

program (enum definitions.enum.service_name)<br />

autostart (bool)<br />

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

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

Saved successfully!

Ooh no, something went wrong!