beautypg.com

Configuration – ClearOne Writing StreamNet User Manual

Page 17

background image

5-1

All specifications subject to change without notification. All rights reserved. Copyright © 2007 NetStreams

Main +1 512.977-9393 / fax +1 512.977.9398 / Toll Free Technical Support +1 866-353-3496

3600 W. Parmer Lane, Suite 100; Austin, TX 78727 /

www.netstreams.com.

Chapter

5

Configuration

As for any other StreamNet service, a StreamNet service with a Lua driver is
configured by including an appropriate service tag within the config_current.xml file.
In the case of standard StreamNet device types, the clause will be automatically
generated, but in the case of custom device types, the clause may need to be manually
generated.

serviceType=”gpio” enabled=”1”>

The SCRIPT_DATA block defines a section of Lua that will be passed to the
interpreter before the driver is loaded, allowing for installation specific parameters,
such as the port settings above, to be passed to the driver.

NOTE:

The serviceType in this example is currently required to be “gpio,” and the
serviceNumber is a device specific constant (always 2 in the case of a CL100
or CL100A)