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 11 - Com Namespace<br />

com.network.ntp_servers<br />

This variable contains the setting used to synchronize reader time with<br />

network time servers. You can enter multiple server addresses separated by<br />

a space.<br />

The following example specifies three server addresses:<br />

>>> com.network.ntp_servers=10.1.1.1 10.1.1.2 192.10.34.1<br />

ok<br />

Type<br />

Permissions<br />

Data Type<br />

Default ""<br />

var<br />

guest=rw,admin=rw<br />

string<br />

com.network.ping<br />

This function causes the reader to ping another machine. It is typically used<br />

as a diagnostic tool to determine if the reader can connect to another<br />

machine.<br />

The following example shows a reader can reach a machine at address<br />

10.1.1.244, but cannot reach a machine at address 10.0.0.21.<br />

>>> com.network.ping(ip_address = 10.1.1.244)<br />

ok address is reachable<br />

>>> com.network.ping(ip_address = 10.0.0.21)<br />

error.network.address_not_reachable<br />

Type<br />

Permissions<br />

Parameters<br />

function<br />

guest=-,admin=x<br />

ip_address (string)<br />

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

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

Saved successfully!

Ooh no, something went wrong!