EtherNet/IP™ Adapter3.09.00
 
Loading...
Searching...
No Matches

Overview

Generic Device Profile example

Functions

EI_API_ADP_SEipStatus_t GENERIC_DEVICE_cmgrCb (uint32_t serviceCode, EI_API_ADP_UCmgrInfo_u cmgrInfo)
 Callback function for ForwardOpen, LargeForwardOpen and ForwardClose.
 
uint32_t DEVICE_PROFILE_register (DEVICE_PROFILE_INTF_Interface_t *pIntf)
 Registers generic device profile interface functions.
 
static bool GENERIC_DEVICE_init (EI_API_ADP_T *pAdapter, EI_API_CIP_NODE_T *pCipNode)
 Basic initialization function.
 
static void GENERIC_DEVICE_run (EI_API_CIP_NODE_T *pCipNode)
 Cyclically called run function.
 
static bool GENERIC_DEVICE_cipSetup (EI_API_CIP_NODE_T *pCipNode)
 Setup the application with classes, instances, attributes, and assemblies.
 
static void GENERIC_DEVICE_cipGenerateContent (EI_API_CIP_NODE_T *cipNode, uint16_t classId, uint16_t instanceId)
 Generates attributes and services for a CIP™class.