Re: 对接第三方网关数据上报失败
Dear All,
只调用tal_zg_reporting_init也不行,重新上电不会report。
BRS
Ye.Zhi-Peng
Dear All,
只调用tal_zg_reporting_init也不行,重新上电不会report。
BRS
Ye.Zhi-Peng
g_report_tabal[0].attr_id = 0x0000;
g_report_tabal[0].cluster_id = 0x0006;
g_report_tabal[0].direction = TAL_REPORT_DIRECTION_REPORTED;
g_report_tabal[0].ep_id = 1;
g_report_tabal[0].manuf_code = 0x1002;
g_report_tabal[0].mask = ZG_CLUSTER_MASK_SERVER;
g_report_tabal[0].data.reported.max_interval = 5;
g_report_tabal[0].data.reported.min_interval = 5;
g_report_tabal[0].data.reported.report_change = 0;
g_report_tabal[1].attr_id = 0x0007;
g_report_tabal[1].cluster_id = 0x0300;
g_report_tabal[1].direction = TAL_REPORT_DIRECTION_REPORTED;
g_report_tabal[1].ep_id = 1;
g_report_tabal[1].manuf_code = 0x1002;
g_report_tabal[1].mask = ZG_CLUSTER_MASK_SERVER;
g_report_tabal[1].data.reported.max_interval = 5;
g_report_tabal[1].data.reported.min_interval = 5;
g_report_tabal[1].data.reported.report_change = 0;
tal_zg_reporting_init(g_report_tabal, 2);
网关下发绑定操作成功后,也不会report.
您好,是否方便将demo工程贴出来,我们查一下原因
附件demo已验证config report和掉电保存功能,FYI.
Dear All
附件demo已验证config report和掉电保存功能.
你提供的demo是不是只对0x0006, 0x0000有效,config report其它cluster和att同样有效不?
BRS
Ye.Zhi-Peng
需要先bind相应的cluster,config report指定cluster下的属性上报条件
Dear All,
用你提供的固件也不行,我只把"chip_id":"efr32mg21a020f1024im32"改成"chip_id":"efr32mg21a020f768im32"。
重新上电前:
T00000000:RX len 7, ep 01, clus 0x0008 (Level Control) FC 18 seq 20 cmd 0A payload[00 00 20 01 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 21 cmd 0A payload[00 00 10 01 ]
T00000000:RX len 7, ep 01, clus 0x0008 (Level Control) FC 18 seq 22 cmd 0A payload[00 00 20 01 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 23 cmd 0A payload[00 00 10 01 ]
T00000000:RX len 7, ep 01, clus 0x0008 (Level Control) FC 18 seq 24 cmd 0A payload[00 00 20 01 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 25 cmd 0A payload[00 00 10 01 ]
T00000000:RX len 7, ep 01, clus 0x0008 (Level Control) FC 18 seq 26 cmd 0A payload[00 00 20 01 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 01 cmd 0A payload[00 00 10 00 ]
重新上电:
T00000000:RX len 20, ep 01, clus 0xEC03 (Unknown clus. [0xEC03]) FC 09 seq 02 cmd 00 payload[00 5F 54 5A 33 32 31 38 5F 62 68 7A 6B 62 75 67 77 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 03 cmd 0A payload[00 00 10 00 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 04 cmd 0A payload[00 00 10 00 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 05 cmd 0A payload[00 00 10 00 ]
T00000000:RX len 7, ep 01, clus 0x0006 (On/off) FC 18 seq 06 cmd 0A payload[00 00 10 00 ]
我配置了两个config report,分别是onoff和level。上电前两个都会上报,重新上电后只会上报onoff。
BRS
Ye.Zhi-Peng
Dear All,
Code: Select all
这边还有一个问题,这边配置了,cluster 0x0300, ATTR 0x0007属性,通过CMD_MOVE_TO_COLOR_TEMPERATURE_COMMAND_ID改变色温后,不会立马上报,onoff和亮度会立马上报。
BRS
Ye.Zhi-Peng
你好,目前该框架远程配置项复位后未完全加载,推荐使用本地预配置。
后续版本将优化此问题。