ClearOne Writing StreamNet User Manual
Page 3
iii
Chapter 1:
Introduction ................................................................................................................ 1-1
Introduction to Lua .................................................................................................................. 1-2
Chapter 2:
Activating Drivers within DigiLinX Dealer Setup .................................................... 2-1
Chapter 3:
Handling Commands ................................................................................................. 3-1
Handling Commands ................................................................................................................ 3-2
Example: Handle_Set ........................................................................................................... 3-2
Chapter 4:
Handling Communications ........................................................................................ 4-1
Chapter 5:
Configuration .............................................................................................................. 5-1
Chapter 6:
Installing the Driver .................................................................................................... 6-1
Useful Development Tips .......................................................................................................... 6-7
Chapter 7:
Generating Status Reports ........................................................................................ 7-1
Chapter 8:
Diagnostic Messages ................................................................................................. 8-1
Chapter 9:
Reference .................................................................................................................... 9-1
Syntax ......................................................................................................................................... 9-1
Control ....................................................................................................................................... 9-1
default_handle_command (command) ................................................................................. 9-1
handle_command(command) ................................................................................................ 9-2
aNode = getSubNode(strNodeName) ................................................................................... 9-2
setStatus(strField, value) ....................................................................................................... 9-3
aString = getStatus(strField, value) ...................................................................................... 9-3
SubNode ..................................................................................................................................... 9-3
aSubNode = createSubNode(strName) ................................................................................. 9-3
aTable = subNodes ................................................................................................................ 9-3
aString = aSubNode.name .................................................................................................... 9-3
aStatus = aSubNode.status .................................................................................................... 9-3
aSubNode:setStatus(strField, value) ..................................................................................... 9-3
aString = aSubNode:getStatus(strField, value) ..................................................................... 9-4
aSubNode:default_handle_command(command) ................................................................. 9-4
aSubNode:handle_command(command) .............................................................................. 9-4
AsciiCommand .......................................................................................................................... 9-4
aString = command.command .............................................................................................. 9-4
aTable = command.params ................................................................................................... 9-4
aString = command.to ........................................................................................................... 9-5
Contents