This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
还是没有读出zonetype啊那里错了?
你的ZoneType变量有没有初始化
ZCL_CLUSTER_ID_SS_IAS_ZONE, { // Attribute record ATTRID_SS_IAS_ZONE_TYPE, ZCL_DATATYPE_ENUM16, ACCESS_CONTROL_READ, (void *)&zclSampleContactSwitch_ZoneType }
uint16 zclSampleContactSwitch_ZoneType = SS_IAS_ZONE_TYPE_CONTACT_SWITCH;