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:有关数据包分析的问题

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

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1068208/cc2531emk-question-regarding-packet-parsing

部件号:CC2531EMK
“线程:Z 堆栈”中讨论的其它部件

您好,

因此,我发送了 AF_DATA_Request 来读取属性(群集 ID = 0x0001,属性 ID = 0x0021 -> getbatteryPercentage)

AF_DATA_REQUEST (0x2401)
    DstAddr: 0x4F16
    DestEndpoint: 0x01
    SrcEndpoint: 0x01
    ClusterID: 0x0001
    TransID: 0x03
    Options: 0x00
    Radius: 0x1E
    Len: 0x05
    Data: ...!. (0x10, 0x03, 0x00, 0x21, 0x00)

我收到的数据包就在这里:

AF_INCOMING_MSG (0x4481)
    GroupID: 0x0000
    ClusterID: 0x0001
    SrcAddr: 0x4F16
    SrcEndpoint: 0x01
    DstEndpoint: 0x01
    WasBroadcast: 0x00
    LinkQuality: 0x3F
    SecurityUse: 0x00
    Timestamp: 0x008CF245
    TransSeqNumber: 0x00
    Len: 0x08
    Data: ...!.. . (0x08, // START OF ZCL HEADER
                    0x03, 
                    0x01, // END OF ZCL HEADER
                    0x21, // 0x0021 ATTRIBUTE ID
                    0x00, 
                    0x00, // Status?
                    0x20, // 0x8820 is the value? is out of range
                    0x88)

真的不知道如何阅读。