User's Guide
Tarvos User Guide - Version 0.3 32
b. Com
Function List Table
com.network.1.set
com.network.force_ntp_sync
com.serial.set
com.network.connection_table
com.network.close_llrp
Variable List Table
com.modem.timeout
com.web.timeout
com.network.tcpkeepalive
com.network.1.default_gateway
com.network.1.ip_address
com.network.1.mac_address
com.network.1.method
com.network.1.settings
com.network.1.subnet_mask
com.network.ntp_servers
com.network.last_ntp_error
com.network.ntp_sync_period
com.serial.baudrate
com.serial.databits
com.serial.echo
com.serial.parity
com.serial.rawmode
com.serial.settings
com.serial.stopbits
com.network.hostname
com.network.syslog.remote.1.ip_address
com.network.syslog.remote.1.log_level
com.network.syslog.remote.1.port
com.modem.mcu_time_sync_period
com.network.1.set()
Permission
admin
Min parameters
1
Max parameters
4
Specifies the ip acquisition method, ip address, subnet mask and default gateway
Param 1: 'method' ==> (Enum) 'dhcp', 'static'
Param 2: 'ip_address' ==> (String) In 'static' method, specifies IP
address (Example, 10.172.1.52)
Param 3: 'subnet_mask' ==> (String) In 'static' method, specifies
subnet mask (e.g., 255.255.255.0)
Param 4: 'default_gateway' ==> (String) In 'static' method, specifies
default gateway (e.g., 10.172.1.1)
Note: Use com.network.1.* for determining current values for the parameters
set here.
Example:
com.network.1.set(method=dhcp)
ok
com.network.force_ntp_sync()
Permission
admin
Min parameters
0
Max parameters
0
Function forces NTP synchronization.