uint32_t EI_API_CIP_setClassServiceFunc | ( | T * | pCipNode_p, |
uint16_t | classId_p, | ||
EI_API_CIP_SService_t * | pService_p | ||
) |
Add a callback function to a class service.
This Function adds a callback function to a service which is registered for that class.
[in] | pCipNode_p | Pointer to the CIP node. |
[in] | classId_p | Class identifier. |
[in] | pService_p | Service or services the class will support. |
EI_API_CIP_eERR_OK | Success. |
EI_API_CIP_eERR_NODE_INVALID | CIP error code. |
EI_API_CIP_eERR_CLASS_DOES_NOT_EXIST | Class does not exists in CIP node dictionary. |
EI_API_CIP_eERR_SERVICE_DOES_NOT_EXIST | Service does no exist. |
EI_API_CIP_eERR_SERVICE_INVALID | Service is invalid, possibly NULL pointer. |
EI_API_CIP_eERR_INSTANCE_UNKNOWN_STATE | Unknown state during class operation reached. |