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

com.serial.parity<br />

This variable contains the parity for serial communication.<br />

The following example returns the parity setting for the serial port. To set<br />

the parity, use the com.serial.set() function.<br />

>>> com.serial.parity<br />

ok none<br />

Type<br />

Permissions<br />

Data Type<br />

Default<br />

Enum<br />

var<br />

guest=r,admin=r<br />

enum<br />

NONE<br />

NONE EVEN ODD<br />

com.serial.rawmode<br />

This variable contains the behavior mode for the serial console. When set<br />

to true, a machine interface is presented on the serial console. In this mode<br />

no prompts are sent out of the serial port. When set to false, a human<br />

interface is presented. In this mode, the reader prompt is sent out of the<br />

serial port at the end of each command.<br />

The following example sets the serial port to raw mode (machine interface):<br />

>>> com.serial.rawmode = true<br />

ok<br />

Type<br />

Permissions<br />

Data Type<br />

Default<br />

var<br />

guest=r,admin=rw<br />

bool<br />

false<br />

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