Current Value......................................................................................................................................................................
72
Types of Variables................................................................................................................................................72
Number................................................................................................................................................................................
72
Schedule..............................................................................................................................................................................
72
String...................................................................................................................................................................................
72
Range...................................................................................................................................................................................
73
F
UNCTIONS
...................................................................................................................................................................73
Note: ALL FUNCTIONS ARE CASE SENSITIVE!!!........................................................................................... 73
Note: You can utilize decimal, hex, binary, and octal integers for functions as exampled here:.......................73
The following functions are available for use when the expression check box is checked in one of the supported
actions. The following types of actions support expressions: Variable, Serial, IR Serial, HTTP Post, Email,
Log, and Telnet interpreting Values as Expressions........................................................................................... 73
E
XPRESSIONS
................................................................................................................................................................ 76
Interpreting Values as Expressions..................................................................................................................... 76
Evaluation of Expressions....................................................................................................................................76
Operators............................................................................................................................................................. 77
Addition/Plus (+) Operator.................................................................................................................................................
77
Subtraction/Minus (-) Operator...........................................................................................................................................
78
Multiplication/Times (*) Operator......................................................................................................................................
78
Division/Divide (/) Operator...............................................................................................................................................
78
Equal Comparison (==) Operator........................................................................................................................................ 78
Not-Equal Comparison (!=) Operator.................................................................................................................................
79
Greater-Than Comparison (>) Operator.............................................................................................................................. 79
Greater-Than or Equal Comparison (>=) Operator............................................................................................................. 80
Less Than Comparison (<) Operator................................................................................................................................... 80
Less Than or Equal Comparison (<=) Operator.................................................................................................................. 80
Logical-And (&&) Operator...............................................................................................................................................
80
Logical-Or (||) Operator.......................................................................................................................................................
81
Logical-Not (!) Operator.....................................................................................................................................................
82
Bitwise-And (&) Operator..................................................................................................................................................
82
Bitwise-Or (|) Operator.......................................................................................................................................................
82
One's Complement (~) Operator.........................................................................................................................................
82
Range (in) Operator.............................................................................................................................................................
83
Assignment (=) Operator.....................................................................................................................................................
83
Addition Assignment (+=) Operator...................................................................................................................................
83
Subtraction Assignment (-=) Operator................................................................................................................................ 84
Multiplication Assignment (*=) Operator........................................................................................................................... 84
Division Assignment (/=) Operator..................................................................................................................................... 84
Bitwise-And Assignment (&=) Operator............................................................................................................................ 85
Bitwise-Or Assignment (|=) Operator.................................................................................................................................
85
Wildcard Characters............................................................................................................................................85
Escaping Special Characters............................................................................................................................... 85
XIV. REMOTE PROCEDURE CALLS...................................................................................................................87
RPC S
ERVER
L
OGS
...................................................................................................................................................... 87
S
YNTAX
FOR
HTTP P
OST
..............................................................................................................................................87
Call Tokens.......................................................................................................................................................... 87
Response Tokens.................................................................................................................................................. 88
EXAMPLE #1: Serial_GetSettings...................................................................................................................... 88
EXAMPLE #2: Net_GetSubnetMask....................................................................................................................89
F
AULT
C
ODES
.............................................................................................................................................................. 89
U
SING
M
ACROMEDIA
F
LASH
...........................................................................................................................................90
STEP 1: Pass WACI IP Address to Flash............................................................................................................ 90
STEP 2: Call RPC with HTTP Post..................................................................................................................... 91
STEP 3: Response Tokens....................................................................................................................................91
V
ISUAL
B
ASIC
S
CRIPTING
...............................................................................................................................................92
N
OTE
ON
E
RROR
C
HECKING
........................................................................................................................................... 92
RPC Q
UICK
R
EFERENCE
............................................................................................................................................... 93
E
RROR
I
NFORMATION
M
ETHODS
....................................................................................................................................100