SightLine Applications Command, Control, and Script API
v3.00
|
Configure the network settings for the device.
There is only 1 network interface.
Message ID 0x1C
Byte Offset | Name | Description |
---|---|---|
4 | mode | 0 = Use DHCP, 1 = Use specified Static IP address |
5-8 | ipAddr | IP address, if mode is static; 0 = No change |
9-12 | subnet | Subnet mask, if mode is static, 0 = No change |
13-16 | gateway | Gateway, if mode is static, 0 = No change |
17-18 | c2replyPort | Command and control reply port, 0 = No change. Port on remote device that SLA- will send outbound replies to any received commands. Zero(0) indicates no change. Default port is 14002. Client should create a listening socket on this port |
19-20 | reserved0 | Reserved |
21 | reserved1 | Reserved |
22 | reserved2 | Reserved |
23-24 | listenPort | (optional) C2C command listen port, 0 indicates no change, default is 14001. |
25-26 | listenPort2 | (optional) C2C command listen port2, 0 indicates no change, default is 14003. |
27 | hostName.len | string length |
28-... | hostName.str | (optional) Set the Host Name returned by Discover protocol. Host name can be up to 31 bytes long, leading space characters are ignored. Setting 0 length string will reset host name to the default. If this field is omitted, then no change will be made to hostname. |
Firmware Version: 3.00