28 #ifndef __CLCM_UTILS_H__
29 #define __CLCM_UTILS_H__
36 #define CLM_DEVICEID_SIZE (sizeof(CPUINT16) * 5)
37 #define CLM_ENDPOINT_SIZE (sizeof(CPUINT16) * 6)
38 #define CLM_SECTIONID_SIZE (sizeof(CPUINT16) * 5)
39 #define CLM_PARAMETERID_SIZE (sizeof(CPUINT16) * 4)
40 #define CLM_CONTROLLERID_SIZE (sizeof(CPUINT16) * 3)
41 #define CLM_CONTROLLERASSIGNMENT_SIZE (CLM_ENDPOINT_SIZE + sizeof(CPUINT16) * 6 + sizeof(CPUINT8) * 2)
42 #define CLM_SMARTCONNECTSECTIONITEM_SIZE (sizeof(CPUINT64) + CLM_DEVICEID_SIZE + sizeof(CPUINT16))
43 #define CLM_SMARTCONNECTCONTROLLERITEM_SIZE (sizeof(CPUINT16) * 5)
44 #define CLM_INTERNAL_VALUE_SIZE (sizeof(CPUINT16) * 2 + sizeof(CPUINT8) * 8)
45 #define CLM_APPMSGHEADER_SIZE (sizeof(CPUINT16) + CLM_ENDPOINT_SIZE + sizeof(CPUINT8) * 2)
46 #define CLM_APPMODIFIERMSG_SIZE (sizeof(CPUINT16) * 10 + CLM_INTERNAL_VALUE_SIZE)
47 #define CLM_APPEVENTMSG_SIZE (sizeof(CPUINT16) * 9)
48 #define CLM_APPSELECTORMSG_SIZE (sizeof(CPUINT16) * 11)
49 #define CLM_APPTEXTMSG_BASESIZE (sizeof(CPUINT16) * 10)
50 #define CLM_APPMIDISYSEXMSG_BASESIZE (sizeof(CPUINT8) * 2)
51 #define CLM_TIMESTAMPINFO_SIZE (sizeof(CPUINT64) + sizeof(CPUINT32) + sizeof(CPUINT16))
69 #endif // __CLCM_UTILS_H__