| 34 | EipUint8 **message); |
| 35 | |
| 36 | void CipStackInit(const EipUint16 unique_connection_id) { |
| 37 | EncapsulationInit(); |
| 38 | /* The message router is the first CIP object be initialized!!! */ |
| 39 | EipStatus eip_status = CipMessageRouterInit(); |
| 40 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 41 | eip_status = CipIdentityInit(); |
| 42 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 43 | eip_status = CipTcpIpInterfaceInit(); |
| 44 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 45 | eip_status = CipEthernetLinkInit(); |
| 46 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 47 | eip_status = ConnectionManagerInit(unique_connection_id); |
| 48 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 49 | eip_status = CipAssemblyInitialize(); |
| 50 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 51 | eip_status = CipQoSInit(); |
| 52 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 53 | /* the application has to be initialized at last */ |
| 54 | eip_status = ApplicationInitialization(); |
| 55 | OPENER_ASSERT(kEipStatusOk == eip_status) |
| 56 | |
| 57 | /* Shut up compiler warning with traces disabled */ |
| 58 | (void) eip_status; |
| 59 | } |
| 60 | |
| 61 | void ShutdownCipStack(void) { |
| 62 | /* First close all connections */ |
no test coverage detected