This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
http_qcom [2023/05/11 20:46] johnw [SaveCamera] |
http_qcom [2023/05/11 21:17] (current) johnw [SetIp] |
||
|---|---|---|---|
| Line 857: | Line 857: | ||
| - | ==== SetIp ==== | ||
| - | === local_ip === | ||
| - | IPv4 adresss | + | ==== SetIp ==== |
| - | + | ---- | |
| - | === local_netmask === | + | |
| - | + | ||
| - | IPv4 netmask | + | |
| - | + | ||
| - | === default_gw === | + | |
| - | + | ||
| - | IPv4 default gateway | + | |
| - | + | ||
| - | === local_dnsip === | + | |
| - | + | ||
| - | DNS server primary | + | |
| - | + | ||
| - | === local dnsip2 === | + | |
| - | + | ||
| - | DNS server secondary | + | |
| - | + | ||
| - | === use_dhcp === | + | |
| - | Controls use of DHCP or static IP | + | Control networking settings of the Z3 device such as local IPv4 IP address, netmask, etc. |
| + | Additionally control Encoder Auto-Start after boot-up and enable/disable showing of advanced WebUI settings. | ||
| - | Possible values: 1 (DHCP enabled), 0 (DHCP disabled, use static IP) | + | \\ |
| - | === do_autostart === | + | == Parameters: == |
| + | ---- | ||
| + | **//do_autostart//** | ||
| + | Control automatic stream start after bootup. | ||
| + | Possible values: 1 = do autostart 0 = do not autostart. | ||
| - | Control automatic stream start after bootup | + | **//enc_adv_setting//** |
| + | Control appearance of advanced settings on WebUI. | ||
| + | Possible values: off, on. | ||
| - | Possible values: 1 = do autostart 0 = do not autostart | + | **//ipmtu//** |
| + | Control Ethernet IP Maximum Transmission Unit (MTU) size in bytes. | ||
| + | Possible values: 576 to 1500. | ||
| - | === enc_adv_setting === | + | **//eth_speed//** |
| + | Control Gigabit Ethernet auto-negotiation allowed speeds. | ||
| + | Possible values: AUTO, AUTO-100, 1000, 100, 10. | ||
| - | Control appearance of advanced settings on WebUI | + | **//eth_duplex//** |
| + | Control Ethernet auto-negotiation allowed duplex. | ||
| + | Possible values: AUTO, FULL, HALF. | ||
| - | Possible values: off, on | + | **//local_ip//** |
| + | IPv4 address. | ||
| - | === eth_speed === | + | **//local_netmask//** |
| + | IPv4 netmask. | ||
| - | Control Gigabit Ethernet auto-negotiation allowed speeds | + | **//default_gw//** |
| + | IPv4 default gateway. | ||
| - | Possible values: AUTO, AUTO-100, 1000, 100, 10 | + | **//local_dnsip//** |
| + | DNS server primary. | ||
| - | === eth_duplex === | + | **//local_dnsip2//** |
| + | DNS server secondary. | ||
| - | Control Ethernet auto-negotiation allowed duplex | + | **//use_dhcp//** |
| + | Controls use of DHCP or static IP. | ||
| + | Possible values: 1 (DHCP enabled), 0 (DHCP disabled, use static IP). | ||
| - | Possible values: AUTO, FULL, HALF | + | **//local_hostname//** |
| + | Network hostname. | ||
| - | === ipmtu === | + | \\ |
| + | == Returns: == | ||
| + | ---- | ||
| + | JSON formatted table with values below | ||
| - | Control Ethernet IP Maximum Transmission Unit (MTU) size in bytes | + | **//ret//** Custom return code of the HTTP POST request. 0 on success, 1 on failure. |
| - | Possible values: 576 to 1500 | + | **//status//** String describing the failure when **ret** is 1. "OK" on success. |
| + | \\ | ||
| + | ---- | ||
| ==== SetDisplay ==== | ==== SetDisplay ==== | ||