Hello,
My project is based on zed sw which I am trying to connect to Zigbee2MQTT.
I tried to add the attributes ATTRID_BASIC_MANUFACTURER_NAME, ATTRID_BASIC_MODEL_IDENTIFIER
In my code i added (file name: zcl_samplesw_data.c)
const uint8_t zclSampleSw_ManufacturerName[] = {4, 'N','A','M','E'};
const uint8_t zclSampleSw_ModelIdentifier[] = {6, '1','2','A','B','C','3'};
CONST zclAttrRec_t zclSampleSw_Attrs[] = { ......
{
ZCL_CLUSTER_ID_GENERAL_BASIC,
{ // Attribute record
ATTRID_BASIC_MANUFACTURER_NAME,
ZCL_DATATYPE_CHAR_STR,
ACCESS_CONTROL_READ,
(void *) &zclSampleSw_ManufacturerName //zclSampleSw_ManufacturerName
}
},
{
ZCL_CLUSTER_ID_GENERAL_BASIC,
{ // Attribute record
ATTRID_BASIC_MODEL_IDENTIFIER,
ZCL_DATATYPE_CHAR_STR,
ACCESS_CONTROL_READ,
(void *) &zclSampleSw_ModelIdentifier
}
}, .....}
After successfully joined in the network, when i tried to read the Manufacturer Name or Model Identifier or even ZCL version I am getting the error SOFTWARE_FAILURE.
I tried implementing the callback function as mentioned here, still i am getting the error.
Thanks