Generic Device Profile example Configuration
Functions | |
| bool | GENERIC_DEVICE_CFG_init (EI_API_ADP_T *pAdapter) |
| Makes full initialization of factory reset values. | |
| void | GENERIC_DEVICE_CFG_apply (EI_API_ADP_T *pAdapter) |
| Applies the generic device profile configuration data on stack. | |
| bool | GENERIC_DEVICE_CFG_callback (EI_API_CIP_NODE_T *pCipNode, uint16_t classId, uint16_t instanceId, uint16_t attrId, EI_API_CIP_ESc_t serviceCode, int16_t serviceFlag) |
| Configuration callback to synchronize generic device profile non-volatile values with actual stack attribute values. Sets the new non-volatile data, if necessary. | |
| void | GENERIC_DEVICE_CFG_setDefaultWithoutComm (void) |
| Sets generic device profile factory default values to the profile part of non volatile runtime structure. | |
| void | GENERIC_DEVICE_CFG_setHeader (DEVICE_PROFILE_CFG_Header_t *pHeader) |
| Sets header for non volatile runtime structure. | |
| bool | GENERIC_DEVICE_CFG_isValid (void) |
| Checks header of non volatile runtime structure against generic device profile header. | |
| void * | GENERIC_DEVICE_CFG_getRuntimeData (void) |
| Provides pointer to runtime configuration non volatile data. | |
| void * | GENERIC_DEVICE_CFG_getFactoryResetData (void) |
| Provides pointer to factory reset non volatile data. | |
| uint32_t | GENERIC_DEVICE_CFG_getLength (void) |
| Provides size of runtime configuration or factory reset data. | |
| static uint32_t | GENERIC_DEVICE_CFG_applyIdentity (EI_API_ADP_T *pAdapter) |
| Applies the identity object attributes on the stack. | |
| static uint32_t | GENERIC_DEVICE_CFG_applyTimeSync (EI_API_ADP_T *pAdapter) |
| Applies the Time Sync object attributes on the stack. | |