OrbbecSDK 2.8.6
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
OBNetIpConfigV2 Struct Reference

IP address configuration v2 for network devices (IPv4), used with property OB_STRUCT_DEVICE_IP_ADDR_CONFIG_V2. More...

#include <ObTypes.h>

Public Attributes

uint16_t flags
uint8_t address [4]
 IP address (IPv4, big-endian, e.g. 192.168.1.1 -> address[0]=192)
uint8_t mask [4]
 Subnet mask (big-endian)
uint8_t gateway [4]
 Gateway (big-endian)

Detailed Description

IP address configuration v2 for network devices (IPv4), used with property OB_STRUCT_DEVICE_IP_ADDR_CONFIG_V2.

Note
This is the recommended structure for Gemini 335Le / Gemini 435Le devices with newer firmware. It extends OBNetIpConfig by replacing the single dhcp field with a flags bitmask that supports both DHCP mode and Persistent IP mode.
Device support:
  • Femto Mega / Femto Mega I: NOT supported; use OBNetIpConfig instead.
  • Gemini 335Le / Gemini 435Le with older firmware: NOT supported; use OBNetIpConfig instead.
  • Gemini 335Le / Gemini 435Le with newer firmware: supported and recommended.
Before using this structure, verify support at runtime:
OB_EXPORT bool ob_device_is_property_supported(const ob_device *device, ob_property_id property_id, ob_permission_type permission, ob_error **error)
Check if a device property permission is supported.
@ OB_PERMISSION_READ_WRITE
Definition ObTypes.h:68
@ OB_STRUCT_DEVICE_IP_ADDR_CONFIG_V2
Device IP address configuration v2.
Definition Property.h:751

Definition at line 1340 of file ObTypes.h.

Member Data Documentation

◆ flags

uint16_t OBNetIpConfigV2::flags

IP configuration mode flags bit0: DHCP enable (1=on, 0=off) bit1: Persistent IP enable (1=on, 0=off) bit[2:15]: reserved, must be 0

Definition at line 1341 of file ObTypes.h.

◆ address

uint8_t OBNetIpConfigV2::address[4]

IP address (IPv4, big-endian, e.g. 192.168.1.1 -> address[0]=192)

Definition at line 1345 of file ObTypes.h.

◆ mask

uint8_t OBNetIpConfigV2::mask[4]

Subnet mask (big-endian)

Definition at line 1346 of file ObTypes.h.

◆ gateway

uint8_t OBNetIpConfigV2::gateway[4]

Gateway (big-endian)

Definition at line 1347 of file ObTypes.h.


The documentation for this struct was generated from the following file: