![]() |
IDS peak comfortC
v1.6.0
|
Data Structures | |
| union | peak_mac_address |
| peak MAC-48 address More... | |
| union | peak_ip_address |
| peak IPv4 address More... | |
| struct | peak_ip_config |
| peak IP configuration More... | |
| struct | peak_ethernet_info |
| peak Ethernet info More... | |
Enumerations | |
| enum | peak_ethernet_status { PEAK_ETHERNET_STATUS_INVALID, PEAK_ETHERNET_STATUS_OK, PEAK_ETHERNET_STATUS_NOK, PEAK_ETHERNET_STATUS_SUBNET_MISMATCH, PEAK_ETHERNET_STATUS_INAPPLICABLE_IP } |
| peak Ethernet status More... | |
Ethernet configuration related functions and types.
| enum peak_ethernet_status |
peak Ethernet status
The ethernet status defines the current status of a cameras ethernet configuration.
| peak_status peak_EthernetConfig_DHCP_Enable | ( | peak_camera_id | cameraID, |
| peak_bool | enabled | ||
| ) |
Enable/Disable dhcp.
Sets dhcp to enabled or disabled.
| [in] | cameraID | The camera id. |
| [in] | enabled | The desired enabled status. PEAK_TRUE for enabled, PEAK_FALSE for disabled. |
| peak_access_status peak_EthernetConfig_DHCP_GetAccessStatus | ( | peak_camera_id | cameraID | ) |
Query the dhcp access status.
Provides the current access status for the dhcp setting of the specified camera.
This function implements the Access Status Query principle.
| [in] | cameraID | The camera id. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
| peak_bool peak_EthernetConfig_DHCP_IsEnabled | ( | peak_camera_id | cameraID | ) |
Get the enabled status of dhcp.
Queries whether dhcp is currently enabled or disabled.
This function implements the Enabled Status Query principle.
| [in] | cameraID | The camera id. |
| peak_access_status peak_EthernetConfig_GetAccessStatus | ( | peak_camera_id | cameraID | ) |
Query the ethernet configuration access status.
Provides the current access status for the ethernet configuration of the specified camera.
This function implements the Access Status Query principle.
| [in] | cameraID | The camera id. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
| peak_status peak_EthernetConfig_GetInfo | ( | peak_camera_id | cameraID, |
| peak_ethernet_info * | ethernetInfo | ||
| ) |
Query the ethernet information.
Provides the ethernet information for the camera which is specified by its camera id.
| [in] | cameraID | The camera id. |
| [out] | ethernetInfo | The ethernet info. |
ethernetInfo is an invalid pointer. | peak_status peak_EthernetConfig_PersistentIP_Get | ( | peak_camera_id | cameraID, |
| peak_ip_config * | persistentIP | ||
| ) |
Get the persistent ip.
Reads the current persistent ip.
| [in] | cameraID | The camera id. |
| [out] | persistentIP | The persistent ip. |
persistentIP is an invalid pointer. | peak_access_status peak_EthernetConfig_PersistentIP_GetAccessStatus | ( | peak_camera_id | cameraID | ) |
Query the persistent ip access status.
Provides the current access status for the persistent ip setting of the specified camera.
This function implements the Access Status Query principle.
| [in] | cameraID | The camera id. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
| peak_status peak_EthernetConfig_PersistentIP_Set | ( | peak_camera_id | cameraID, |
| peak_ip_config | persistentIP | ||
| ) |
Set the persistent ip.
Sets the persistent ip address.
| [in] | cameraID | The camera id. |
| [in] | persistentIP | The desired persistent ip. |
persistentIP is an invalid ip.