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.

[参考译文] CC2531EMK:(ZStack 3.0.X)如何配置恒温器的属性报告

Guru**** 2386600 points
Other Parts Discussed in Thread: CC2531EMK
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1062983/cc2531emk-zstack-3-0-x-how-to-configure-attribute-reporting-for-my-thermostat

器件型号:CC2531EMK

你好!

(确保选中编辑:下面也是)

硬件:

  • CC2531EMK 担任协调器
  • Danfoss 恒温器014G2461作为终端设备

网络:

  • 协调器
  • 终端设备

问题:  

  • 无法了解如何配置属性报告
  • 当移动旋钮时、属性 USAED_ENGET_SETPOINT 更改(Cluster = 0x0201、Attribute-ID = 0x0012)、但我没有从它获得 AF_INVING_MSG 的响应
  • 还可用于查看恒温器测量的局部温度值。 它有一个内部传感器。

我尝试过的解决方案:

活动端点:

  • 协调员:一个活动 EP。 0x01与集群0x0201
  • 终端设备:一个有源 EP。 0x01与集群0x0201

测试日志:

  • <TX>11:08:06.63 COM4 ZDO_BIND_REQ (0x2521)
        DstAddr: 0x3448  <--- nwk address of end-device
        SrcAddress: 0xCCCCCCFFFE395641  <--- ieee address of end-device
        SrcEndpoint: 0x01
        ClusterID: 0x0201
        BindAddrMode: 0x03 (ADDRESS_64_BIT) (0x3)
        BindAddr: ..K..... (0x00, 0x12, 0x4B, 0x00, 0x1C, 0xD4, 0xAA, 0x81)
        BindEndpoint: 0x01
    
    <RX>11:08:06.64 COM4 ZDO_BIND_REQ_SRSP (0x6521)
        Status: afStatus_SUCCESS (0x0)
    
    <RX>11:08:10.19 COM4 ZDO_BIND_RSP (0x45A1)
        SrcAddr: 0x3448
        Status: ZDP_SUCCESS (0x0)
    
    
  • <TX>11:10:54.37 COM4 AF_DATA_REQUEST (0x2401)
        DstAddr: 0x3448
        DestEndpoint: 0x01
        SrcEndpoint: 0x01
        ClusterID: 0x0201
        TransID: 0x03
        Options: 0x00
        Radius: 0x1E
        Len: 0x0B
        Data: ......).... (0x10, 
                           0x03, 
                           0x06, <--- configure reporting zcl command.
                           0x00, 
                           0x12, 0x00, <-- occupied_heating_setpoint
                           0x29, 
                           0x01, 0x00, 
                           0x00, 0x00
                          )
    
    <RX>11:10:54.39 COM4 AF_DATA_REQUEST_SRSP (0x6401)
        Status: afStatus_SUCCESS (0x0)
    
    <RX>11:11:00.67 COM4 AF_DATA_CONFIRM (0x4480)
        Status: afStatus_SUCCESS (0x0)
        Endpoint: 0x01
        TransID: 0x03
    
    <RX>11:11:00.69 COM4 AF_INCOMING_MSG (0x4481)
        GroupID: 0x0000
        ClusterID: 0x0201
        SrcAddr: 0x3448
        SrcEndpoint: 0x01
        DstEndpoint: 0x01
        WasBroadcast: 0x00
        LinkQuality: 0x73
        SecurityUse: 0x00
        Timestamp: 0x0044A12A
        TransSeqNumber: 0x00
        Len: 0x04
        Data: .... (0x08, 0x03, 0x07, 0x00)

编辑:

其他帮助:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    解决了:ZTool 内的 BindAddr (协调器)必须用小端字节序编写。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Luca、

    感谢您对问题的解决方案采取后续行动!

    此致、
    Ryan