Function rs2_get_dhcp_config

Function Documentation

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

Get DHCP configuration

Parameters:
  • device[in] RealSense device

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

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

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