OpENer - Open Source EtherNet/IP(TM) I/O Target Stack
2.1
|
Go to the source code of this file.
Enumerations | |
enum | CipIdentityExtendedStatus { kSelftestingUnknown = 0x0000, kFirmwareUpdateInProgress = 0x0010, kStatusAtLeastOneFaultedIoConnection = 0x0020, kNoIoConnectionsEstablished = 0x0030, kNonVolatileConfigurationBad = 0x0040, kMajorFault = 0x0050, kAtLeastOneIoConnectionInRunMode = 0x0060, kAtLeastOneIoConnectionEstablishedAllInIdleMode = 0x0070 } |
enum | CipIdentityStatus { kOwned = 0x0001, kConfigured = 0x0004, kMinorRecoverableFault = 0x0100, kMinorUncoverableFault = 0x0200, kMajorRecoveralbeFault = 0x0400, kMajorUnrecoverableFault = 0x0800 } |
Status of the CIP Identity object. More... | |
Functions | |
EipStatus | CipIdentityInit (void) |
CIP Identity object constructor. More... | |
void | CipIdentitySetExtendedDeviceStatus (CipIdentityExtendedStatus extended_status) |
Definition at line 33 of file cipidentity.h.
enum CipIdentityStatus |
Status of the CIP Identity object.
Definition at line 15 of file cipidentity.h.
EipStatus CipIdentityInit | ( | void | ) |
CIP Identity object constructor.
Definition at line 148 of file cipidentity.c.
References CreateCipClass(), device_type_, GetAttributeAll(), GetAttributeSingle(), GetCipInstance(), InitializeCipIdentiy(), InsertAttribute(), InsertService(), kCipShortString, kCipUdint, kCipUint, kCipUsintUsint, kCipWord, kEipStatusError, kEipStatusOk, kGetableSingleAndAll, kGetAttributeAll, kGetAttributeSingle, kReset, product_code_, serial_number_, status_, and vendor_id_.
Referenced by CipStackInit().
void CipIdentitySetExtendedDeviceStatus | ( | CipIdentityExtendedStatus | extended_status | ) |
Definition at line 185 of file cipidentity.c.
References OPENER_TRACE_INFO, and status_.
Referenced by HandleReceivedIoConnectionData(), and RunIdleChanged().