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.

急!!!怎么Report 一个数据类型的为Structure 的Attribute?

Genius 3030 points

Other Parts Discussed in Thread: Z-STACK

没有找到Structure数据是怎样定义的,我自己定义成如下结构

typedef struct
{
  uint8 u8DataType0;//= ZCL_DATATYPE_BOOLEAN;
  bool bData0;
  uint8 u8DataType1;// = ZCL_DATATYPE_UINT16;
  uint16 u16Data1;
  uint8 u8DataType2;// = ZCL_DATATYPE_UINT16;
  uint16 u16Data2;
  uint8 u8DataType3;// = ZCL_DATATYPE_UINT40;
  uint8 uDataBuff[5];    
  uint8 u8DataType4;// = ZCL_DATATYPE_UINT16;
  uint16 u16Data4;
  uint8 u8DataType5;// = ZCL_DATATYPE_UINT8;
  uint8 u8Data5;
}Identification_t;

然后用zcl_SendReportCmd()函数report到Coor,但抓包发现数据并没有发出去,如下图