![]() |
IDS peak comfortC v1.13.1
|
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... | |
Functions | |
| peak_access_status | peak_EthernetConfig_GetAccessStatus (peak_camera_id cameraID) |
| Query the ethernet configuration access status. | |
| peak_status | peak_EthernetConfig_GetInfo (peak_camera_id cameraID, peak_ethernet_info *ethernetInfo) |
| Query the ethernet information. | |
| peak_access_status | peak_EthernetConfig_DHCP_GetAccessStatus (peak_camera_id cameraID) |
| Query the dhcp access status. | |
| peak_status | peak_EthernetConfig_DHCP_Enable (peak_camera_id cameraID, peak_bool enabled) |
| Enable/Disable dhcp. | |
| peak_bool | peak_EthernetConfig_DHCP_IsEnabled (peak_camera_id cameraID) |
| Get the enabled status of dhcp. | |
| peak_access_status | peak_EthernetConfig_PersistentIP_GetAccessStatus (peak_camera_id cameraID) |
| Query the persistent ip access status. | |
| peak_status | peak_EthernetConfig_PersistentIP_Set (peak_camera_id cameraID, peak_ip_config persistentIP) |
| Set the persistent ip. | |
| peak_status | peak_EthernetConfig_PersistentIP_Get (peak_camera_id cameraID, peak_ip_config *persistentIP) |
| Get the persistent ip. | |
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.
| Enumerator | |
|---|---|
| PEAK_ETHERNET_STATUS_INVALID | Invalid ethernet status. Use this value for the initialization of variables of type peak_ethernet_status. |
| PEAK_ETHERNET_STATUS_OK | The cameras ethernet status is ok. The ethernet configuration is operable. |
| PEAK_ETHERNET_STATUS_NOK | The cameras ethernet status is not ok. The ethernet configuration is not operable. |
| PEAK_ETHERNET_STATUS_SUBNET_MISMATCH | The camera persistent IP is not in the hosts subnet. The hosts subnet is the hosts ip address AND-ed with the hosts subnet mask. |
| PEAK_ETHERNET_STATUS_INAPPLICABLE_IP | The camera IP is not applicable. The camera ip is not applicable on the network. Make sure that the cameras persistent ip address is not used by any other device that is connected to the same network. |
| 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.