INfinity 510 Protocol Reference Guide - Sirit
INfinity 510 Protocol Reference Guide - Sirit
INfinity 510 Protocol Reference Guide - Sirit
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 7 - Reader Namespace<br />
READER NAMESPACE<br />
Reader Command Description Type<br />
reader.bind(id) (See reader.events.bind) function<br />
reader.check_service(program) Checks/returns status of system service. function<br />
reader.check_status() Checks and returns reader status. function<br />
Reader.creat_csd Creates customer support data (csd). function<br />
reader.flash_led Flashes the reader LEDs. function<br />
reader.is_alive() Verifies if reader is operational. function<br />
reader.login(login,pwd) Allows reader login. function<br />
reader.logout() Allows reader logout. function<br />
reader.query_bind()<br />
Queries event channel ID for command<br />
session.<br />
function<br />
reader.reboot() Reboots the reader. function<br />
reader.register_event(id,name) Registers events over event channel function<br />
reader.rollback_firmware() Rolls back the reader firmware. function<br />
reader.set_pwd(login,pwd,new_pwd) Changes reader passwords. function<br />
reader.start_service(program, autostart) Starts a system service. function<br />
reader.stop_service(program, autostart) Stops a system service. function<br />
reader.timestamp_all_events Timestamp all events. var<br />
reader.trigger_event(event)<br />
Distributes event to all registered event<br />
channels.<br />
function<br />
reader.unregister_event(id,name) Unregisters events over a event channel function<br />
reader.upgrade_firmware(filename) Upgrades reader firmware. function<br />
reader.view_log(log_file) Displays a log file. function<br />
reader.who_am_i() Reports the current login level. function<br />
reader.apps.delete(filename) Deletes a user application from reader. function<br />
reader.apps.list()<br />
reader.apps.list_running()<br />
reader.apps.start_java(classname,<br />
classpath,jar,args,autostart)<br />
reader.apps.start_python(filename,<br />
args,autostart)<br />
Returns list of all user applications loaded<br />
on the reader.<br />
Returns list of all user applications that<br />
are running on the reader.<br />
Execute a user java application.<br />
Executes a user python script.<br />
function<br />
function<br />
function<br />
function<br />
reader.apps.stop(pid) Stops running user script or java app. function<br />
reader.apps.view_log(pid) View an application log file. function<br />
44 <strong>INfinity</strong> <strong>510</strong> <strong>Protocol</strong> <strong>Reference</strong> <strong>Guide</strong>