SightLine Applications Command, Control, and Script API  v3.5
List of all members
SLASetNetworkParameters_t Struct Reference


Configure the network settings for the device.

typedef struct {
u8 mode;
u32be ipAddr;
u32be subnet;
u32be gateway;
u16be c2replyPort;
u16be reserved0;
u8 reserved1;
u8 reserved2;
u16be listenPort;
u16be listenPort2;
SVPLenString_t hostName;
There is only 1 network interface.

Message ID 0x1C

Byte Offset Name Description
4mode0 = Use DHCP, 1 = Use specified Static IP address
5-8ipAddrIP address, if mode is static; 0 = No change
9-12subnetSubnet mask, if mode is static, 0 = No change
13-16gatewayGateway, if mode is static, 0 = No change
17-18c2replyPortCommand and control reply port. 0 = No change. Port on remote device that will be listening for replies.
Default port is 14002. see Communication
23-24listenPort(optional) C2C command listen port, 0 indicates no change, default is 14001.
25-26listenPort2(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 namee to the default. If this field is omitted, then no change will be made to hostname.