OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ciperror.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CipError {
  kCipErrorSuccess = 0x00, kCipErrorConnectionFailure = 0x01, kCipErrorResourceUnavailable = 0x02, kCipErrorInvalidParameterValue = 0x03,
  kCipErrorPathSegmentError = 0x04, kCipErrorPathDestinationUnknown = 0x05, kCipErrorPartialTransfer = 0x06, kCipErrorConnectionLost = 0x07,
  kCipErrorServiceNotSupported = 0x08, kCipErrorInvalidAttributeValue = 0x09, kCipErrorAttributeListError = 0x0A, kCipErrorAlreadyInRequestedMode = 0x0B,
  kCipErrorObjectStateConflict = 0x0C, kCipErrorObjectAlreadyExists = 0x0D, kCipErrorAttributeNotSetable = 0x0E, kCipErrorPrivilegeViolation = 0x0F,
  kCipErrorDeviceStateConflict = 0x10, kCipErrorReplyDataTooLarge = 0x11, kCipErrorFragmentationOfAPrimitiveValue = 0x12, kCipErrorNotEnoughData = 0x13,
  kCipErrorAttributeNotSupported = 0x14, kCipErrorTooMuchData = 0x15, kCipErrorObjectDoesNotExist = 0x16, kCipErrorServiceFragmentationSequenceNotInProgress = 0x17,
  kCipErrorNoStoredAttributeData = 0x18, kCipErrorStoreOperationFailure = 0x19, kCipErrorRoutingFailureRequestPacketTooLarge = 0x1A, kCipErrorRoutingFailureResponsePacketTooLarge = 0x1B,
  kCipErrorMissingAttributeListEntry = 0x1C, kCipErrorInvalidAttributeValueList = 0x1D, kCipErrorEmbeddedServiceError = 0x1E, kCipErrorVendorSpecificError = 0x1F,
  kCipErrorInvalidParameter = 0x20, kCipErrorWriteonceValueOrMediumAlreadyWritten = 0x21, kCipErrorInvalidReplyReceived = 0x22, kCipErrorKeyFailureInPath = 0x25,
  kCipErrorPathSizeInvalid = 0x26, kCipErrorUnexpectedAttributeInList = 0x27, kCipErrorInvalidMemberId = 0x28, kCipErrorMemberNotSetable = 0x29,
  kCipErrorGroup2OnlyServerGeneralFailure = 0x2A
}
 

Enumeration Type Documentation

enum CipError
Enumerator
kCipErrorSuccess 

Service was successfully performed by the object specified.

kCipErrorConnectionFailure 

A connection related service failed along the connection path.

kCipErrorResourceUnavailable 

Resources needed for the object to perform the requested service were unavailable

kCipErrorInvalidParameterValue 

See Status Code 0x20, which is the preferred value to use for this condition.

kCipErrorPathSegmentError 

The path segment identifier or the segment syntax was not understood by the processing node. Path processing shall stop when a path segment error is encountered.

kCipErrorPathDestinationUnknown 

The path is referencing an object class, instance or structure element that is not known or is not contained in the processing node. Path processing shall stop when a path destination unknown error is encountered.

kCipErrorPartialTransfer 

Only part of the expected data was transferred.

kCipErrorConnectionLost 

The messaging connection was lost.

kCipErrorServiceNotSupported 

The requested service was not implemented or was not defined for this Object Class/Instance.

kCipErrorInvalidAttributeValue 

Invalid attribute data detected

kCipErrorAttributeListError 

An attribute in the Get_Attribute_List or Set_Attribute_List response has a non-zero status.

kCipErrorAlreadyInRequestedMode 

The object is already in the mode/state being requested by the service

kCipErrorObjectStateConflict 

The object cannot perform the requested service in its current mode/state

kCipErrorObjectAlreadyExists 

The requested instance of object to be created already exists.

kCipErrorAttributeNotSetable 

A request to modify a non-modifiable attribute was received.

kCipErrorPrivilegeViolation 

A permission/privilege check failed

kCipErrorDeviceStateConflict 

The device's current mode/state prohibits the execution of the requested service.

kCipErrorReplyDataTooLarge 

The data to be transmitted in the response buffer is larger than the allocated response buffer

kCipErrorFragmentationOfAPrimitiveValue 

The service specified an operation that is going to fragment a primitive data value, i.e. half a REAL data type.

kCipErrorNotEnoughData 

The service did not supply enough data to perform the specified operation.

kCipErrorAttributeNotSupported 

The attribute specified in the request is not supported

kCipErrorTooMuchData 

The service supplied more data than was expected

kCipErrorObjectDoesNotExist 

The object specified does not exist in the device.

kCipErrorServiceFragmentationSequenceNotInProgress 

The fragmentation sequence for this service is not currently active for this data.

kCipErrorNoStoredAttributeData 

The attribute data of this object was not saved prior to the requested service.

kCipErrorStoreOperationFailure 

The attribute data of this object was not saved due to a failure during the attempt.

kCipErrorRoutingFailureRequestPacketTooLarge 

The service request packet was too large for transmission on a network in the path to the destination. The routing device was forced to abort the service.

kCipErrorRoutingFailureResponsePacketTooLarge 

The service response packet was too large for transmission on a network in the path from the destination. The routing device was forced to abort the service.

kCipErrorMissingAttributeListEntry 

The service did not supply an attribute in a list of attributes that was needed by the service to perform the requested behavior.

kCipErrorInvalidAttributeValueList 

The service is returning the list of attributes supplied with status information for those attributes that were invalid.

kCipErrorEmbeddedServiceError 

An embedded service resulted in an error.

kCipErrorVendorSpecificError 

A vendor specific error has been encountered. The Additional Code Field of the Error Response defines the particular error encountered. Use of this General Error Code should only be performed when none of the Error Codes presented in this table or within an Object Class definition accurately reflect the error.

kCipErrorInvalidParameter 

A parameter associated with the request was invalid. This code is used when a parameter does not meet the requirements of this specification and/or the requirements defined in an Application Object Specification.

kCipErrorWriteonceValueOrMediumAlreadyWritten 

An attempt was made to write to a write-once medium (e.g. WORM drive, PROM) that has already been written, or to modify a value that cannot be changed once established.

kCipErrorInvalidReplyReceived 

An invalid reply is received (e.g. reply service code does not match the request service code, or reply message is shorter than the minimum expected reply size). This status code can serve for other causes of invalid replies.

kCipErrorKeyFailureInPath 

The Key Segment that was included as the first segment in the path does not match the destination module. The object specific status shall indicate which part of the key check failed.

kCipErrorPathSizeInvalid 

The size of the path which was sent with the Service Request is either not large enough to allow the Request to be routed to an object or too much routing data was included.

kCipErrorUnexpectedAttributeInList 

An attempt was made to set an attribute that is not able to be set at this time.

kCipErrorInvalidMemberId 

The Member ID specified in the request does not exist in the specified Class/Instance/Attribute

kCipErrorMemberNotSetable 

A request to modify a non-modifiable member was received

kCipErrorGroup2OnlyServerGeneralFailure 

This error code may only be reported by DeviceNet group 2 only servers with 4K or less code space and only in place of Service not supported, Attribute not supported and Attribute not setable.

Definition at line 9 of file ciperror.h.