User's Guide
Tarvos User Guide - Version 0.3 33
com.serial.set()
Permission
admin
Min parameters
4
Max parameters
6
Specifies the reader's serial port settings
Param 1: 'baudrate' ==> (Enum) '1200', '2400', '4800', '9600', '19200',
'38400', '57600', '115200'
Param 2: 'databits' ==> (Enum) '7', '8'
Param 3: 'stopbits' ==> (Enum) '1', '2'
Param 4: 'parity' ==> (Enum) 'none', 'even', 'odd'
Param 5: 'echo' ==> (Enum) 'true', 'false' (only 'false' supported)
Param 6: 'rawmode' ==> (Enum) 'true', 'false' (only 'true' supported)
Example:
com.serial.set(baudrate=57600, databits=8, stopbits=1, parity=none)
ok
com.network.connection_table()
Permission
admin
Min parameters
0
Max parameters
0
Dumps statistics about past and present connections.
This function takes no parameters.
Example:
com.network.connection_table()
ok
Cmd/Resp channels: 1
Event channels: 1
37 - level 5, rcvd 624, sent 597, ip 10.172.0.240, time 3495, C2_CMD
42 - events sent 3437, bytes sent 263722, C2_EVENT
com.network.close_llrp()
Permission
admin
Min parameters
0
Max parameters
0
Close existing LLRP connection. If a previous connection has not been
released by the client, this function can be used to force the closing
and cleaning up of that connection. After calling this function, a
new LLRP connection can be made.
This function takes no parameters.
Example:
com.network.close_llrp()
ok
com.modem.timeout
Read Permission
guest
Write Permission
admin
Default
10000
Priority
5
(Integer) Timeout for commands sent to the modem (in milliseconds).