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.

CC2652R: report 长度

Part Number: CC2652R

        测试发现report长度好像受 BDBREPORTING_MAX_ANALOG_ATTR_SIZE 的限制,ZCL中限制了只能是2、4或8。我想将一个ZCL_DATATYPE_CHAR_STR类型的Attribute通过Report发出去。如果长度没有超过BDBREPORTING_MAX_ANALOG_ATTR_SIZE的话,可以正确发送。如果长度超了,数据能发出去,但是超出部分的内容是错的。

        我需要的Reportable Attribute长度达到255,改BDBREPORTING_MAX_ANALOG_ATTR_SIZE = 255。那么问题来了,改了之后BDBREPORTING_DEFAULTCHANGEVALUE[]要手工重定义,bdb_reporting.c里面有一堆东西要改。我的思路是不是错了,要怎么长能发长度超过8的report