中
A
8258 zigbee sdk3.6.7 zcl_report怎么上报数组类型数据
I had to add in zcl.c in function zcl_getAttrSize(u8 dataType, u8 *pData) the following:
(我必须在 zcl.c 函数 zcl_getAttrSize(u8 dataType, u8 *pData) 中添加以下内容:)
}else if(dataType == ZCL_DATA_TYPE_ARRAY){
dataLen = *pData + 1; //array length + 1 for length field
}
Unless Soyo can suggest something different!
I had to add in zcl.c in function zcl_getAttrSize(u8 dataType, u8 *pData) the following:
(我必须在 zcl.c 函数 zcl_getAttrSize(u8 dataType, u8 *pData) 中添加以下内容:)
}else if(dataType == ZCL_DATA_TYPE_ARRAY){
dataLen = *pData + 1; //array length + 1 for length field
}
Unless Soyo can suggest something different!