DCP GET/SET response codes.
More...
#include <dcp.h>
|
| static std::string | GetName (std::uint8_t code) |
| | Get the human-readable name for a response code.
|
| |
|
| static constexpr std::uint8_t | NO_ERROR = 0x00 |
| | No error.
|
| |
| static constexpr std::uint8_t | OPTION_NOT_SUPPORTED = 0x01 |
| | The requested option is not supported.
|
| |
| static constexpr std::uint8_t | SUBOPTION_NOT_SUPPORTED = 0x02 |
| | The requested suboption is not supported or has no data set.
|
| |
| static constexpr std::uint8_t | SUBOPTION_NOT_SET = 0x03 |
| | The requested suboption is not set.
|
| |
| static constexpr std::uint8_t | RESOURCE_ERROR = 0x04 |
| | A resource error occurred.
|
| |
| static constexpr std::uint8_t | SET_NOT_POSSIBLE = 0x05 |
| | The SET operation is not currently possible.
|
| |
| static constexpr std::uint8_t | IN_OPERATION_SET_NOT_POSSIBLE = 0x06 |
| | The SET operation is not possible while the device is in operation.
|
| |
DCP GET/SET response codes.
Definition at line 334 of file dcp.h.
◆ GetName()
| std::string profinet::dcp::DCPResponseCode::GetName |
( |
std::uint8_t |
code | ) |
|
|
static |
Get the human-readable name for a response code.
- Parameters
-
- Returns
- A description of the code.
Definition at line 407 of file dcp.cpp.
References profinet::Hex2().
◆ IN_OPERATION_SET_NOT_POSSIBLE
| constexpr std::uint8_t profinet::dcp::DCPResponseCode::IN_OPERATION_SET_NOT_POSSIBLE = 0x06 |
|
staticconstexpr |
The SET operation is not possible while the device is in operation.
Definition at line 356 of file dcp.h.
◆ NO_ERROR
| constexpr std::uint8_t profinet::dcp::DCPResponseCode::NO_ERROR = 0x00 |
|
staticconstexpr |
No error.
Definition at line 338 of file dcp.h.
◆ OPTION_NOT_SUPPORTED
| constexpr std::uint8_t profinet::dcp::DCPResponseCode::OPTION_NOT_SUPPORTED = 0x01 |
|
staticconstexpr |
The requested option is not supported.
Definition at line 341 of file dcp.h.
◆ RESOURCE_ERROR
| constexpr std::uint8_t profinet::dcp::DCPResponseCode::RESOURCE_ERROR = 0x04 |
|
staticconstexpr |
A resource error occurred.
Definition at line 350 of file dcp.h.
◆ SET_NOT_POSSIBLE
| constexpr std::uint8_t profinet::dcp::DCPResponseCode::SET_NOT_POSSIBLE = 0x05 |
|
staticconstexpr |
The SET operation is not currently possible.
Definition at line 353 of file dcp.h.
◆ SUBOPTION_NOT_SET
| constexpr std::uint8_t profinet::dcp::DCPResponseCode::SUBOPTION_NOT_SET = 0x03 |
|
staticconstexpr |
The requested suboption is not set.
Definition at line 347 of file dcp.h.
◆ SUBOPTION_NOT_SUPPORTED
| constexpr std::uint8_t profinet::dcp::DCPResponseCode::SUBOPTION_NOT_SUPPORTED = 0x02 |
|
staticconstexpr |
The requested suboption is not supported or has no data set.
Definition at line 344 of file dcp.h.
The documentation for this struct was generated from the following files: