Function rs2_set_gateway

Function Documentation

void rs2_set_gateway(const rs2_device *device, const rs2_ip_address gateway, rs2_error **error)

Set gateway address

Parameters:
  • device[in] RealSense device

  • gateway[in] Gateway address to set

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