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

This variable contains the number of databits used for serial<br />

communication.<br />

The following example returns the number of data bits used by the serial<br />

port. To set the number of data bits, use the com.serial.set() function.<br />

>>> com.serial.databits<br />

ok 8<br />

Type<br />

Permissions<br />

Data Type<br />

Default 8<br />

var<br />

guest=r,admin=r<br />

enum<br />

Enum 7 8<br />

com.serial.echo<br />

This variable contains the echo setting used for serial communication.<br />

The following example returns the echo setting for the serial port. To enable<br />

or disable the echo, use the com.serial.set() function.<br />

>>> com.serial.echo<br />

ok true<br />

Type<br />

Permissions<br />

Data Type<br />

Default<br />

var<br />

guest=r,admin=r<br />

bool<br />

true<br />

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

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

Saved successfully!

Ooh no, something went wrong!