Function rs2_set_dhcp_config

Function Documentation

void rs2_set_dhcp_config(const rs2_device *device, int enabled, unsigned int timeout, rs2_error **error)

Set DHCP configuration

Parameters:
  • device[in] RealSense device

  • enabled[in] DHCP enabled flag (0=off, non-zero=on)

  • timeout[in] DHCP timeout threshold in seconds (0-255)

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored